|
@@ -0,0 +1,685 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="Current connection"
|
|
|
+ android:textSize="18dp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/imageView2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
+ android:src="@android:drawable/ic_menu_info_details" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/services_text_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="21dp"
|
|
|
+ android:text="Eduroam"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
+ android:textSize="26sp" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginTop="35dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="Monitor services"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="20dp"/>
|
|
|
+
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/service_switch_connection"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="fill_parent"
|
|
|
+ >
|
|
|
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSH"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="SSH"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSHAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/ssh_switch"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewFTP"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="FTP"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewFTPAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 2"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/ftp_switch"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+</RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewHTTP"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="HTTP"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewHTTPAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 13"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/http_switch"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewHTTPS"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="HTTPS"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewHTTPSAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/https_switch"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSAMBA"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="SAMBA"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSAMBAAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 0"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/samba_switch"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewTELNET"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="TELNET"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewTELNETAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/telnet_switch"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSH"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="SSH"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSHAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/home_switch_connection"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSH"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="SSH"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSHAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/home_switch_connection"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSH"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="SSH"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSHAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/home_switch_connection"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+ <RelativeLayout android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:weightSum="1" >
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSH"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="SSH"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="16dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textViewSSHAttacks"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_alignParentRight="false"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:layout_marginTop="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="recorded attacks: 20"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="12dp"/>
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/home_switch_connection"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="false"
|
|
|
+ android:layout_alignParentEnd="false"
|
|
|
+ android:layout_alignParentLeft="false"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentTop="false"
|
|
|
+ android:layout_gravity="right"
|
|
|
+ android:layout_marginLeft="0dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:checked="false"
|
|
|
+ android:textSize="10dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="fill_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ android:background="@android:color/darker_gray" />
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
+</LinearLayout>
|