123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:weightSum="1" >
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1" >
- <de.tudarmstadt.informatik.hostage.ui2.fragment.HomeGLSurfaceView
- android:id="@+id/surfaceview"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </FrameLayout>
- <RelativeLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:weightSum="1"
- android:baselineAligned="false">
- <TextView
- android:id="@+id/textView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Current connection"
- android:textStyle="bold"
- android:layout_centerVertical="true"
- android:layout_alignParentRight="false"
- android:layout_alignParentEnd="true"
- android:layout_gravity="center_horizontal"
- android:layout_weight="1"
- android:layout_alignParentLeft="true"
- android:layout_marginLeft="15dp" />
- <Switch
- android:id="@+id/switch1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_alignParentLeft="false"
- android:layout_marginLeft="0dp"
- android:layout_alignParentTop="false"
- android:layout_marginTop="0dp"
- android:layout_gravity="right"
- android:layout_alignParentEnd="false"
- android:layout_alignParentRight="true"
- android:layout_alignParentBottom="false"
- android:layout_marginRight="15dp"
- android:textSize="10sp"
- android:checked="true" />
- </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
- android:layout_width="match_parent"
- android:layout_height="171dp"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:orientation="vertical"
- android:weightSum="1"
- android:layout_gravity="bottom">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/textView5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="This network is monitored by HosTaGe"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="@color/holo_dark_green"
- android:textSize="11sp"
- android:layout_gravity="center"
- android:layout_below="@+id/textView2"
- android:layout_centerHorizontal="true" />
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="Eduroam"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:textSize="26sp"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="21dp" />
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@android:drawable/presence_online"
- android:layout_marginRight="10dp"
- android:layout_alignBottom="@+id/textView5"
- android:layout_toLeftOf="@+id/textView5" />
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/imageView2"
- android:src="@android:drawable/ic_menu_info_details"
- android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true" />
- </RelativeLayout>
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="Insecure"
- android:textAppearance="@android:style/TextAppearance.Holo.Small"
- android:textColor="@color/holo_red"
- android:textSize="13sp"
- android:layout_marginTop="10dp" />
- <TextView
- android:id="@+id/textView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:text="125 attacks recorded"
- android:textColor="@color/holo_red"
- android:textSize="11sp" />
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="match_parent">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Active profile: "
- android:id="@+id/textView6"
- android:textStyle="bold"
- android:textSize="11sp"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="10dp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Windows 7"
- android:id="@+id/textView7"
- android:textSize="11sp"
- android:layout_below="@+id/textView6"
- android:layout_centerHorizontal="true" />
- </RelativeLayout>
- </LinearLayout>
- </LinearLayout>
|