aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/page_configure.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_configure.xml
parentab577b06a6eaa9b8dd950b79b658ed8c08eef1c9 (diff)
downloadtincapp-7dfc7b2fb2fb1006bf210ea6396c6e898e74d40e.tar.gz
List configured VPN on startup screen
Diffstat (limited to 'app/src/main/res/layout/page_configure.xml')
-rw-r--r--app/src/main/res/layout/page_configure.xml113
1 files changed, 60 insertions, 53 deletions
diff --git a/app/src/main/res/layout/page_configure.xml b/app/src/main/res/layout/page_configure.xml
index bc8832e..35a7416 100644
--- a/app/src/main/res/layout/page_configure.xml
+++ b/app/src/main/res/layout/page_configure.xml
@@ -1,81 +1,88 @@
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 1<ScrollView
2 xmlns:tools="http://schemas.android.com/tools" 2 xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/page_configure" 3 xmlns:tools="http://schemas.android.com/tools"
4 android:layout_width="match_parent" 4 android:layout_width="match_parent"
5 android:layout_height="wrap_content" 5 android:layout_height="match_parent">
6 android:orientation="vertical"
7 tools:context="org.pacien.tincapp.activities.ConfigureActivity">
8 6
9 <TextView 7 <LinearLayout
10 style="@style/AppTheme.SectionTitle" 8 android:id="@+id/page_configure"
11 android:text="@string/title_path_info"/> 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content"
11 android:orientation="vertical"
12 tools:context="org.pacien.tincapp.activities.ConfigureActivity">
12 13
13 <LinearLayout style="@style/AppTheme.List"> 14 <TextView
15 style="@style/AppTheme.SectionTitle"
16 android:text="@string/title_path_info"/>
14 17
15 <LinearLayout style="@style/AppTheme.ListBlock"> 18 <LinearLayout style="@style/AppTheme.List">
16 19
17 <TextView 20 <LinearLayout style="@style/AppTheme.ListBlock">
18 style="@style/AppTheme.BlockTitle"
19 android:text="@string/title_configuration_directory"/>
20 21
21 <TextView 22 <TextView
22 android:id="@+id/text_configuration_directory" 23 style="@style/AppTheme.BlockTitle"
23 style="@style/AppTheme.BlockContent"/> 24 android:text="@string/title_configuration_directory"/>
24 25
25 </LinearLayout> 26 <TextView
27 android:id="@+id/text_configuration_directory"
28 style="@style/AppTheme.BlockContent"/>
26 29
27 <LinearLayout style="@style/AppTheme.ListBlock"> 30 </LinearLayout>
28 31
29 <TextView 32 <LinearLayout style="@style/AppTheme.ListBlock">
30 style="@style/AppTheme.BlockTitle"
31 android:text="@string/title_log_directory"/>
32 33
33 <TextView 34 <TextView
34 android:id="@+id/text_log_directory" 35 style="@style/AppTheme.BlockTitle"
35 style="@style/AppTheme.BlockContent"/> 36 android:text="@string/title_log_directory"/>
36 37
37 </LinearLayout> 38 <TextView
39 android:id="@+id/text_log_directory"
40 style="@style/AppTheme.BlockContent"/>
41
42 </LinearLayout>
38 43
39 <LinearLayout style="@style/AppTheme.ListBlock"> 44 <LinearLayout style="@style/AppTheme.ListBlock">
40 45
41 <TextView 46 <TextView
42 style="@style/AppTheme.BlockTitle" 47 style="@style/AppTheme.BlockTitle"
43 android:text="@string/title_tinc_binary"/> 48 android:text="@string/title_tinc_binary"/>
44 49
45 <TextView 50 <TextView
46 android:id="@+id/text_tinc_binary" 51 android:id="@+id/text_tinc_binary"
47 style="@style/AppTheme.BlockContent"/> 52 style="@style/AppTheme.BlockContent"/>
53
54 </LinearLayout>
48 55
49 </LinearLayout> 56 </LinearLayout>
50 57
51 </LinearLayout> 58 <TextView
59 style="@style/AppTheme.SectionTitle"
60 android:text="@string/title_tools"/>
52 61
53 <TextView 62 <LinearLayout style="@style/AppTheme.List">
54 style="@style/AppTheme.SectionTitle"
55 android:text="@string/title_tools"/>
56 63
57 <LinearLayout style="@style/AppTheme.List"> 64 <LinearLayout
65 style="@style/AppTheme.ListBlock.Clickable"
66 android:onClick="generateConf">
58 67
59 <LinearLayout 68 <TextView
60 style="@style/AppTheme.ListBlock.Clickable" 69 style="@style/AppTheme.BlockTitle"
61 android:onClick="generateConf"> 70 android:text="@string/action_generate_node_configuration_and_keys"/>
62 71
63 <TextView 72 </LinearLayout>
64 style="@style/AppTheme.BlockTitle"
65 android:text="@string/action_generate_node_configuration_and_keys"/>
66 73
67 </LinearLayout> 74 <LinearLayout
75 style="@style/AppTheme.ListBlock.Clickable"
76 android:onClick="joinNetwork">
68 77
69 <LinearLayout 78 <TextView
70 style="@style/AppTheme.ListBlock.Clickable" 79 style="@style/AppTheme.BlockTitle"
71 android:onClick="joinNetwork"> 80 android:text="@string/action_join_network_via_invitation_url"/>
72 81
73 <TextView 82 </LinearLayout>
74 style="@style/AppTheme.BlockTitle"
75 android:text="@string/action_join_network_via_invitation_url"/>
76 83
77 </LinearLayout> 84 </LinearLayout>
78 85
79 </LinearLayout> 86 </LinearLayout>
80 87
81</LinearLayout> 88</ScrollView>