c55bd26fe1b72c2e208454fad63dfdd1791cd880
[mobilnebezpieczenstwo.git] / res / layout-land / activity_app_info.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/app_detail_bg"
7     android:baselineAligned="false"
8     android:orientation="horizontal"
9     android:padding="20dp" >
10
11     <RelativeLayout
12         android:id="@+id/app_layout"
13         android:layout_width="0dip"
14         android:layout_height="wrap_content"
15         android:layout_marginRight="20dp"
16         android:layout_weight="1"
17         android:gravity="center" >
18
19         <LinearLayout
20             android:layout_width="wrap_content"
21             android:layout_height="wrap_content"
22             android:layout_alignParentTop="true"
23             android:gravity="center_vertical"
24             android:orientation="horizontal" >
25
26             <RelativeLayout
27                 android:layout_width="50dp"
28                 android:layout_height="50dp" >
29
30                 <ImageView
31                     android:id="@+id/app_icon"
32                     android:layout_width="50dp"
33                     android:layout_height="50dp"
34                     android:scaleType="centerInside"
35                     android:src="@drawable/ic_launcher" />
36
37                 <ImageView
38                     android:id="@+id/list_system_app_icon"
39                     android:layout_width="25dp"
40                     android:layout_height="25dp"
41                     android:layout_alignParentBottom="true"
42                     android:layout_alignParentRight="true"
43                     android:scaleType="centerInside"
44                     android:src="@drawable/ic_system_dark"
45                     android:visibility="invisible" />
46             </RelativeLayout>
47
48             <TextView
49                 android:id="@+id/app_name"
50                 android:layout_width="match_parent"
51                 android:layout_height="wrap_content"
52                 android:layout_marginLeft="10dp"
53                 android:textSize="14sp" />
54         </LinearLayout>
55
56         <LinearLayout
57             android:id="@+id/button_layout"
58             android:layout_width="wrap_content"
59             android:layout_height="wrap_content"
60             android:layout_alignParentBottom="true"
61             android:layout_centerHorizontal="true"
62             android:orientation="vertical"
63             android:paddingRight="10dp" >
64
65             <ImageButton
66                 android:id="@+id/more_info_button"
67                 android:layout_width="wrap_content"
68                 android:layout_height="wrap_content"
69                 android:layout_marginBottom="10dp"
70                 android:background="#00000000"
71                 android:contentDescription="@string/app_detail_more_info_button"
72                 android:scaleType="fitCenter"
73                 android:src="@drawable/app_info_what_can_button"
74                 android:visibility="gone" />
75
76             <ImageButton
77                 android:id="@+id/uninstall_button"
78                 android:layout_width="wrap_content"
79                 android:layout_height="wrap_content"
80                 android:background="#00000000"
81                 android:contentDescription="@string/app_detail_uninstall_button"
82                 android:scaleType="fitCenter"
83                 android:src="@drawable/app_info_uninstall_button" />
84         </LinearLayout>
85
86     </RelativeLayout>
87
88     <LinearLayout
89         android:id="@+id/list_layout"
90         android:layout_width="0dip"
91         android:layout_height="wrap_content"
92         android:layout_weight="2"
93         android:gravity="center"
94         android:orientation="vertical" >
95
96         <TextView
97             android:id="@+id/system_app_text"
98             android:layout_width="match_parent"
99             android:layout_height="wrap_content"
100             android:layout_marginLeft="20dp"
101             android:layout_marginBottom="10dp"
102             android:text="@string/app_detail_settings_app_text"
103             android:textSize="16sp"
104             android:textStyle="bold" />
105
106         <TextView
107             android:id="@+id/header_text"
108             android:layout_width="match_parent"
109             android:layout_height="wrap_content"
110             android:layout_marginLeft="20dp"
111             android:text="@string/app_detail_header"
112             android:textSize="14sp"
113             android:textStyle="bold" />
114
115         <ListView
116             android:id="@+id/threats_list"
117             android:layout_width="match_parent"
118             android:layout_height="match_parent"
119             android:layout_marginTop="10dp"
120             android:divider="@color/app_detail_list_divider"
121             android:cacheColorHint="@android:color/transparent"
122             android:scrollbarDefaultDelayBeforeFade="2000"
123             android:scrollbarFadeDuration="2000" />
124     </LinearLayout>
125
126 </LinearLayout>