Migrate to gradle, appcompat as external dependency.
[mobilnebezpieczenstwo.git] / app / src / main / res / layout / activity_license.xml
1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:background="@color/popup_bg"
6     android:padding="20dp">
7
8     <ImageButton
9         android:id="@+id/back_button"
10         android:layout_width="wrap_content"
11         android:layout_height="wrap_content"
12         android:layout_alignParentBottom="true"
13         android:layout_centerHorizontal="true"
14         android:background="#00000000"
15         android:contentDescription="@string/popup_back_button"
16         android:paddingBottom="20dp"
17         android:paddingTop="20dp"
18         android:scaleType="fitCenter"
19         android:src="@drawable/back_button" />
20
21     <ScrollView
22         android:layout_width="match_parent"
23         android:layout_height="match_parent"
24         android:layout_above="@+id/back_button"
25         android:fillViewport="true"
26         android:scrollbarDefaultDelayBeforeFade="1000"
27         android:scrollbarFadeDuration="1000"
28         android:scrollbars="vertical" >
29
30         <LinearLayout
31             android:layout_width="match_parent"
32             android:layout_height="wrap_content"
33             android:orientation="vertical" >
34
35             <TextView
36                 android:id="@+id/main_text"
37                 android:layout_width="wrap_content"
38                 android:layout_height="wrap_content"
39                 android:text="@string/license_text"
40                 android:textColor="@color/text_main"
41                 android:textSize="14sp" />
42
43             <TextView
44                 android:id="@+id/license_link"
45                 android:layout_width="wrap_content"
46                 android:layout_height="wrap_content"
47                 android:text="@string/license_link"
48                 android:textColor="@color/text_main"
49                 android:textSize="14sp" />
50
51             <TextView
52                 android:layout_width="wrap_content"
53                 android:layout_height="wrap_content"
54                 android:paddingTop="20dp"
55                 android:text="@string/license_companies"
56                 android:textColor="@color/text_main"
57                 android:textSize="14sp" />
58         </LinearLayout>
59     </ScrollView>
60
61 </RelativeLayout>