]> Pileus Git - ~andy/freeotp/blob - res/layout/about.xml
Add ScrollView to about dialog
[~andy/freeotp] / res / layout / about.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent">
5     <LinearLayout
6         android:layout_width="match_parent"
7         android:layout_height="wrap_content"
8         android:orientation="vertical"
9         android:padding="16dp" >
10         <TextView
11             android:id="@+id/about_version"
12             android:layout_width="match_parent"
13             android:layout_height="wrap_content"
14             android:textSize="18sp"
15             android:textStyle="bold"
16             android:text="@string/about_version" />
17
18         <TextView
19             android:layout_width="match_parent"
20             android:layout_height="wrap_content"
21             android:text="@string/about_copyright"/>
22
23         <TextView
24             android:id="@+id/about_license"
25             android:layout_width="match_parent"
26             android:layout_height="wrap_content"
27             android:layout_marginTop="16dp"
28             android:text="@string/about_license" />
29
30         <TextView
31             android:id="@+id/about_website"
32             android:layout_width="match_parent"
33             android:layout_height="wrap_content"
34             android:layout_marginTop="16dp"
35             android:text="@string/about_website" />
36
37         <TextView
38             android:id="@+id/about_feedback"
39             android:layout_width="match_parent"
40             android:layout_height="wrap_content"
41             android:layout_marginTop="16dp"
42             android:text="@string/about_feedback" />
43     </LinearLayout>
44 </ScrollView>