|
@@ -106,580 +106,12 @@
|
|
|
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"
|
|
|
+ <ListView android:layout_width="fill_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:id="@+id/services_list_view"
|
|
|
>
|
|
|
- <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>
|
|
|
+ </ListView>
|
|
|
|
|
|
- <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>
|