Initial commit.
[mobilnebezpieczenstwo.git] / res / layout-land / welcome_dialog.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:baselineAligned="true"
7     android:orientation="horizontal"
8     tools:ignore="MergeRootFrame" >
9
10     <RelativeLayout
11         android:id="@+id/footer_bg"
12         android:layout_width="0dp"
13         android:layout_height="match_parent"
14         android:layout_weight="2"
15         android:background="@color/welcome_footer_bg"
16         android:padding="5pt" >
17
18         <LinearLayout
19             android:layout_width="match_parent"
20             android:layout_height="wrap_content"
21             android:layout_above="@id/footer_text"
22             android:layout_alignParentTop="true"
23             android:gravity="center"
24             android:orientation="vertical" >
25
26             <ImageView
27                 android:id="@+id/fondation_logo"
28                 android:layout_width="wrap_content"
29                 android:layout_height="0dip"
30                 android:layout_weight="1"
31                 android:layout_marginBottom="10pt"
32                 android:contentDescription="@string/fond"
33                 android:scaleType="centerInside"
34                 android:src="@drawable/logo_fnp" />
35
36             <ImageView
37                 android:id="@+id/samsung_logo"
38                 android:layout_width="wrap_content"
39                 android:layout_height="0dip"
40                 android:layout_weight="1"
41                 android:layout_marginBottom="10pt"
42                 android:contentDescription="@string/samsung"
43                 android:scaleType="centerInside"
44                 android:src="@drawable/logo_samsung" />
45
46             <ImageView
47                 android:id="@+id/gov_logo"
48                 android:layout_width="wrap_content"
49                 android:layout_height="0dip"
50                 android:layout_weight="1"
51                 android:layout_marginBottom="10pt"
52                 android:contentDescription="@string/gov"
53                 android:scaleType="centerInside"
54                 android:src="@drawable/logo_maic" />
55         </LinearLayout>
56
57         <TextView
58             android:id="@+id/footer_text"
59             android:layout_width="match_parent"
60             android:layout_height="wrap_content"
61             android:layout_alignParentBottom="true"
62             android:gravity="center"
63             android:text="@string/financing_info"
64             android:textColor="@android:color/black"
65             android:textSize="15sp" />
66     </RelativeLayout>
67
68     <RelativeLayout
69         android:id="@+id/header"
70         android:layout_width="0dp"
71         android:layout_height="wrap_content"
72         android:layout_weight="3"
73         android:background="@color/welcome_header_bg"
74         android:paddingBottom="5pt"
75         android:paddingLeft="5pt"
76         android:paddingRight="5pt" >
77
78         <ImageView
79             android:id="@+id/tick_bg"
80             android:layout_width="fill_parent"
81             android:layout_height="fill_parent"
82             android:layout_alignParentTop="true"
83             android:layout_centerHorizontal="true"
84             android:layout_marginLeft="35dp"
85             android:layout_marginRight="35dp"
86             android:src="@drawable/img_welcome_screen"
87             android:contentDescription="@null"
88             android:scaleType="fitStart" />
89
90         <TextView
91             android:id="@+id/app_version"
92             android:layout_width="wrap_content"
93             android:layout_height="wrap_content"
94             android:layout_alignParentRight="true"
95             android:layout_alignParentTop="true"
96             android:text="numer wersji"
97             android:textColor="@color/text_main"
98             android:textSize="14sp" />
99
100         <LinearLayout
101             android:layout_width="match_parent"
102             android:layout_height="wrap_content"
103             android:layout_alignParentBottom="true"
104             android:layout_alignParentTop="true"
105             android:gravity="center"
106             android:orientation="vertical" >
107
108             <TextView
109                 android:id="@+id/app_name"
110                 android:layout_width="match_parent"
111                 android:layout_height="0dp"
112                 android:layout_weight="2"
113                 android:gravity="center"
114                 android:paddingLeft="15dp"
115                 android:paddingRight="15dp"
116                 android:text="@string/app_name_two_line"
117                 android:textColor="@color/text_main"
118                 android:textSize="30sp"
119                 android:textStyle="bold" />
120
121             <ScrollView
122                 android:layout_width="match_parent"
123                 android:layout_height="0dp"
124                 android:layout_weight="2"
125                 android:scrollbarDefaultDelayBeforeFade="1000"
126                 android:scrollbarFadeDuration="1000"
127                 android:fillViewport="true"
128                 android:paddingLeft="15dp"
129                 android:paddingRight="15dp"
130                 android:scrollbars="vertical" >
131
132                 <LinearLayout
133                     android:layout_width="match_parent"
134                     android:layout_height="match_parent"
135                     android:orientation="vertical" >
136
137                     <TextView
138                         android:id="@+id/welcome_description"
139                         android:layout_width="match_parent"
140                         android:layout_height="wrap_content"
141                         android:text="@string/action_description"
142                         android:textColor="@color/text_main"
143                         android:textSize="15sp" />
144                     <TextView
145                         android:id="@+id/welcome_description_link"
146                         android:layout_width="match_parent"
147                         android:layout_height="wrap_content"
148                         android:text="@string/action_description_link_text"
149                         android:textColor="@color/welcome_link_color"
150                         android:textSize="15sp" />
151                 </LinearLayout>
152             </ScrollView>
153
154             <LinearLayout
155                 android:layout_width="match_parent"
156                 android:layout_height="0dp"
157                 android:layout_weight="1"
158                 android:gravity="center"
159                 android:orientation="vertical" >
160
161                 <ImageButton
162                     android:id="@+id/button"
163                     android:layout_width="wrap_content"
164                     android:layout_height="match_parent"
165                     android:background="#00000000"
166                     android:contentDescription="@android:string/ok"
167                     android:scaleType="centerInside"
168                     android:src="@drawable/ok_button" />
169
170                 <ProgressBar
171                     android:id="@+id/progressBar"
172                     android:layout_width="wrap_content"
173                     android:layout_height="wrap_content"
174                     android:visibility="gone" >
175                 </ProgressBar>
176             </LinearLayout>
177         </LinearLayout>
178     </RelativeLayout>
179
180 </LinearLayout>