123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <?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>
- <TextView
- android:id="@+id/textView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="5dp"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:layout_marginTop="5dp"
- android:layout_weight="0"
- android:text="Current connection"
- android:textStyle="bold" />
- <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="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:orientation="vertical"
- android:weightSum="1" >
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="20dp"
- android:text="Eduroam"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:textSize="26sp" />
- <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" />
- <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="match_parent"
- android:layout_height="79dp"
- android:layout_weight="0.32" >
- <TextView
- android:id="@+id/textView5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:text="This network is monitored by HosTaGe"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="@color/holo_dark_green"
- android:textSize="11sp" />
- <Button
- android:id="@+id/button"
- style="?android:attr/buttonStyleSmall"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignEnd="@+id/textView5"
- android:layout_alignLeft="@+id/textView5"
- android:layout_alignParentBottom="true"
- android:layout_alignRight="@+id/textView5"
- android:layout_alignStart="@+id/textView5"
- android:layout_below="@+id/imageView"
- android:layout_gravity="right"
- android:text="Stop monitoring"
- android:textSize="12dp" />
- <ImageView
- android:id="@+id/imageView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginRight="19dp"
- android:layout_toLeftOf="@+id/textView5"
- android:src="@android:drawable/presence_online" />
- </RelativeLayout>
- </LinearLayout>
- <View
- android:layout_width="fill_parent"
- android:layout_height="1dp"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:layout_marginTop="10dp"
- android:background="@android:color/darker_gray" />
- </LinearLayout>
|