diff options
Diffstat (limited to 'app/src/main/res/layout/page_start.xml')
-rw-r--r-- | app/src/main/res/layout/page_start.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app/src/main/res/layout/page_start.xml b/app/src/main/res/layout/page_start.xml new file mode 100644 index 0000000..8ead05b --- /dev/null +++ b/app/src/main/res/layout/page_start.xml | |||
@@ -0,0 +1,43 @@ | |||
1 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
2 | xmlns:tools="http://schemas.android.com/tools" | ||
3 | android:id="@+id/fragment_start" | ||
4 | android:layout_width="match_parent" | ||
5 | android:layout_height="wrap_content" | ||
6 | android:orientation="vertical" | ||
7 | tools:context="org.pacien.tincapp.activities.StartActivity"> | ||
8 | |||
9 | <TextView | ||
10 | android:layout_width="match_parent" | ||
11 | android:layout_height="wrap_content" | ||
12 | android:text="\nThis is a technical preview of the application, with a minimal user interface that should be sufficient for testing. | ||
13 | \nNo check is performed on user input, and the application will simply crash at the first encountered error (refer to ADB logs)."/> | ||
14 | |||
15 | <TextView | ||
16 | android:layout_width="match_parent" | ||
17 | android:layout_height="wrap_content" | ||
18 | android:text="\nActions"/> | ||
19 | |||
20 | <Button | ||
21 | android:layout_width="match_parent" | ||
22 | android:layout_height="wrap_content" | ||
23 | android:onClick="requestVpnPermission" | ||
24 | android:text="@string/title_request_vpn_permissions"/> | ||
25 | |||
26 | <Button | ||
27 | android:layout_width="match_parent" | ||
28 | android:layout_height="wrap_content" | ||
29 | android:onClick="startVpnDialog" | ||
30 | android:text="@string/title_connect_to_network"/> | ||
31 | |||
32 | <TextView | ||
33 | android:layout_width="match_parent" | ||
34 | android:layout_height="wrap_content" | ||
35 | android:text="\nInfo"/> | ||
36 | |||
37 | <Button | ||
38 | android:layout_width="match_parent" | ||
39 | android:layout_height="wrap_content" | ||
40 | android:onClick="confDirDialog" | ||
41 | android:text="@string/menu_display_conf_dir"/> | ||
42 | |||
43 | </LinearLayout> | ||