06c4432d8a7d08e30dcee68ffdab5805e7962cb1
[mobilnebezpieczenstwo.git] / res / layout-land / activity_popup.xml
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:id="@+id/container"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:background="@color/popup_bg"
7     android:baselineAligned="false"
8     android:padding="20dp" >
9
10     <RelativeLayout
11         android:id="@+id/button_layout"
12         android:layout_width="0dip"
13         android:layout_height="wrap_content"
14         android:layout_marginRight="20dp"
15         android:layout_weight="1" >
16
17         <ImageButton
18             android:id="@+id/moreinfo_button"
19             android:layout_width="wrap_content"
20             android:layout_height="wrap_content"
21             android:layout_above="@id/back_button"
22             android:layout_centerHorizontal="true"
23             android:layout_marginRight="10dp"
24             android:layout_marginBottom="10dp"
25             android:background="#00000000"
26             android:contentDescription="@string/popup_moreinfo_button"
27             android:scaleType="fitCenter"
28             android:src="@drawable/more_info_button" />
29
30         <ImageButton
31             android:id="@+id/back_button"
32             android:layout_width="wrap_content"
33             android:layout_height="wrap_content"
34             android:layout_alignParentBottom="true"
35             android:layout_centerHorizontal="true"
36             android:layout_marginRight="10dp"
37             android:background="#00000000"
38             android:contentDescription="@string/popup_back_button"
39             android:scaleType="fitCenter"
40             android:src="@drawable/back_button" />
41     </RelativeLayout>
42
43     <LinearLayout
44         android:id="@+id/list_layout"
45         android:layout_width="0dip"
46         android:layout_height="wrap_content"
47         android:layout_weight="2"
48         android:orientation="vertical" >
49
50         <TextView
51             android:id="@+id/header_text"
52             android:layout_width="match_parent"
53             android:layout_height="wrap_content"
54             android:layout_marginLeft="10dp"
55             android:textColor="@color/text_bg"
56             android:textSize="18sp"
57             android:textStyle="bold" />
58
59         <ListView
60             android:id="@+id/threats_list"
61             android:layout_width="match_parent"
62             android:layout_height="match_parent"
63             android:layout_marginBottom="10dp"
64             android:layout_marginTop="5dp"
65             android:cacheColorHint="@android:color/transparent"
66             android:divider="@null" />
67     </LinearLayout>
68
69 </LinearLayout>