3a8edae91843a0edd9bd74cb11c5202f4cc805dc
[mobilnebezpieczenstwo.git] / res / layout / activity_popup.xml
1 <RelativeLayout 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:paddingLeft="20dp"
8     android:paddingRight="20dp"
9     android:paddingTop="20dp" >
10
11     <TextView
12         android:id="@+id/header_text"
13         android:layout_width="match_parent"
14         android:layout_height="wrap_content"
15         android:layout_alignParentLeft="true"
16         android:layout_alignParentTop="true"
17         android:layout_marginTop="20dp"
18         android:textColor="@color/text_bg"
19         android:textSize="18sp"
20         android:textStyle="bold" />
21
22     <ListView
23         android:id="@+id/threats_list"
24         android:layout_width="match_parent"
25         android:layout_height="match_parent"
26         android:layout_above="@+id/button_layout"
27         android:layout_below="@+id/header_text"
28         android:layout_marginBottom="10dp"
29         android:layout_marginTop="5dp"
30         android:cacheColorHint="@android:color/transparent"
31         android:divider="@null" />
32
33     <LinearLayout
34         android:id="@+id/button_layout"
35         android:layout_width="match_parent"
36         android:layout_height="wrap_content"
37         android:layout_alignParentBottom="true"
38         android:layout_centerHorizontal="true"
39         android:layout_marginBottom="20dp" >
40
41         <ImageButton
42             android:id="@+id/back_button"
43             android:layout_width="0dip"
44             android:layout_height="wrap_content"
45             android:layout_weight="1"
46             android:layout_marginRight="10dp"
47             android:background="#00000000"
48             android:contentDescription="@string/popup_back_button"
49             android:scaleType="fitCenter"
50             android:src="@drawable/back_button" />
51
52         <ImageButton
53             android:id="@+id/moreinfo_button"
54             android:layout_width="0dip"
55             android:layout_height="wrap_content"
56             android:layout_weight="1"
57             android:background="#00000000"
58             android:contentDescription="@string/popup_moreinfo_button"
59             android:scaleType="fitCenter"
60             android:src="@drawable/more_info_button" />
61     </LinearLayout>
62
63 </RelativeLayout>