From 7dfc7b2fb2fb1006bf210ea6396c6e898e74d40e Mon Sep 17 00:00:00 2001
From: Pacien TRAN-GIRARD
Date: Mon, 3 Jul 2017 22:33:51 +0200
Subject: List configured VPN on startup screen
---
app/src/main/res/layout/base.xml | 4 +-
app/src/main/res/layout/fragment_list_item.xml | 9 ++
.../fragment_network_list_empty_placeholder.xml | 5 +
.../res/layout/fragment_network_list_header.xml | 4 +
app/src/main/res/layout/page_configure.xml | 113 +++++++++++----------
app/src/main/res/layout/page_start.xml | 40 +++-----
app/src/main/res/values-ja/strings.xml | 4 -
app/src/main/res/values-nb-rNO/strings.xml | 4 -
app/src/main/res/values/strings.xml | 4 +-
app/src/main/res/values/styles.xml | 4 +
10 files changed, 98 insertions(+), 93 deletions(-)
create mode 100644 app/src/main/res/layout/fragment_list_item.xml
create mode 100644 app/src/main/res/layout/fragment_network_list_empty_placeholder.xml
create mode 100644 app/src/main/res/layout/fragment_network_list_header.xml
(limited to 'app/src/main/res')
diff --git a/app/src/main/res/layout/base.xml b/app/src/main/res/layout/base.xml
index f2a8f49..997dd01 100644
--- a/app/src/main/res/layout/base.xml
+++ b/app/src/main/res/layout/base.xml
@@ -26,12 +26,12 @@
-
-
+
diff --git a/app/src/main/res/layout/fragment_list_item.xml b/app/src/main/res/layout/fragment_list_item.xml
new file mode 100644
index 0000000..c6049f5
--- /dev/null
+++ b/app/src/main/res/layout/fragment_list_item.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/layout/fragment_network_list_empty_placeholder.xml b/app/src/main/res/layout/fragment_network_list_empty_placeholder.xml
new file mode 100644
index 0000000..169942f
--- /dev/null
+++ b/app/src/main/res/layout/fragment_network_list_empty_placeholder.xml
@@ -0,0 +1,5 @@
+
diff --git a/app/src/main/res/layout/fragment_network_list_header.xml b/app/src/main/res/layout/fragment_network_list_header.xml
new file mode 100644
index 0000000..3531e3e
--- /dev/null
+++ b/app/src/main/res/layout/fragment_network_list_header.xml
@@ -0,0 +1,4 @@
+
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 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
-
+
-
+
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
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 @@
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index 3f7c75a..38b7910 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -19,8 +19,4 @@
閉じる
プロジェクト Web サイト
- 接続
-
- VPN 権限を付与しました。
- VPN 権限が拒否されました。
diff --git a/app/src/main/res/values-nb-rNO/strings.xml b/app/src/main/res/values-nb-rNO/strings.xml
index be696ef..fe6671e 100644
--- a/app/src/main/res/values-nb-rNO/strings.xml
+++ b/app/src/main/res/values-nb-rNO/strings.xml
@@ -19,8 +19,4 @@
Lukk
Prosjektets nettside
- Koble til
-
- VPN-tilganger gitt.
- VPN-tilganger nektet.
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 0870cb0..750edbb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -25,10 +25,8 @@
Close
Project website
- Connect
Generate node configuration and keys
Join network via invitation URL
- VPN permissions granted.
- VPN permissions denied.
+ No network configuration has been found.
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 9f0eb8e..0b3ed77 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -47,6 +47,10 @@
- true
+
+