aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/page_start.xml
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2017-07-03 22:33:51 +0200
committerPacien TRAN-GIRARD2017-07-03 22:33:51 +0200
commit7dfc7b2fb2fb1006bf210ea6396c6e898e74d40e (patch)
treea0eb66ec7beb9a3c677a72eecc17ce7d9eb3c6ff /app/src/main/res/layout/page_start.xml
parentab577b06a6eaa9b8dd950b79b658ed8c08eef1c9 (diff)
downloadtincapp-7dfc7b2fb2fb1006bf210ea6396c6e898e74d40e.tar.gz
List configured VPN on startup screen
Diffstat (limited to 'app/src/main/res/layout/page_start.xml')
-rw-r--r--app/src/main/res/layout/page_start.xml40
1 files changed, 13 insertions, 27 deletions
diff --git a/app/src/main/res/layout/page_start.xml b/app/src/main/res/layout/page_start.xml
index d470dc0..fec55de 100644
--- a/app/src/main/res/layout/page_start.xml
+++ b/app/src/main/res/layout/page_start.xml
@@ -1,27 +1,13 @@
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 1<ListView
2 xmlns:tools="http://schemas.android.com/tools" 2 xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/page_start" 3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent" 4 android:id="@+id/network_list"
5 android:layout_height="wrap_content" 5 android:layout_width="match_parent"
6 android:orientation="vertical" 6 android:layout_height="match_parent"
7 tools:context="org.pacien.tincapp.activities.StartActivity"> 7 android:divider="@drawable/horizontal_line"
8 8 android:footerDividersEnabled="false"
9 <TextView 9 android:headerDividersEnabled="false"
10 android:layout_width="match_parent" 10 android:orientation="vertical"
11 android:layout_height="wrap_content" 11 tools:context="org.pacien.tincapp.activities.StartActivity">
12 android:text="\nThis is a technical preview of the application, with a minimal user interface that should be sufficient for testing. 12
13 \nNo check is performed on user input, and the application will simply crash at the first encountered error (refer to ADB logs)."/> 13</ListView>
14
15 <Button
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:onClick="requestVpnPermission"
19 android:text="@string/title_request_vpn_permissions"/>
20
21 <Button
22 android:layout_width="match_parent"
23 android:layout_height="wrap_content"
24 android:onClick="startVpnDialog"
25 android:text="@string/title_connect_to_network"/>
26
27</LinearLayout>