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