From b5884b3ad4964d6bdbbb92c160bed84cdbb059a1 Mon Sep 17 00:00:00 2001
From: pacien
Date: Mon, 20 Aug 2018 00:53:22 +0200
Subject: Split status activity into tabs
Refactoring the underlying code to use lifecycle-aware classes
---
app/src/main/res/layout/status_activity.xml | 30 +++++
.../res/layout/status_activity_list_header.xml | 46 --------
.../res/layout/status_network_info_fragment.xml | 131 +++++++++++----------
app/src/main/res/layout/status_node_list.xml | 39 ++++++
app/src/main/res/values/colors.xml | 2 +-
app/src/main/res/values/strings.xml | 2 +-
app/src/main/res/values/styles.xml | 9 ++
7 files changed, 149 insertions(+), 110 deletions(-)
create mode 100644 app/src/main/res/layout/status_activity.xml
delete mode 100644 app/src/main/res/layout/status_activity_list_header.xml
create mode 100644 app/src/main/res/layout/status_node_list.xml
(limited to 'app/src/main/res')
diff --git a/app/src/main/res/layout/status_activity.xml b/app/src/main/res/layout/status_activity.xml
new file mode 100644
index 0000000..5da6d21
--- /dev/null
+++ b/app/src/main/res/layout/status_activity.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/status_activity_list_header.xml b/app/src/main/res/layout/status_activity_list_header.xml
deleted file mode 100644
index 8030481..0000000
--- a/app/src/main/res/layout/status_activity_list_header.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/layout/status_network_info_fragment.xml b/app/src/main/res/layout/status_network_info_fragment.xml
index 2dfe1bc..6bd2b30 100644
--- a/app/src/main/res/layout/status_network_info_fragment.xml
+++ b/app/src/main/res/layout/status_network_info_fragment.xml
@@ -30,100 +30,107 @@
+ type="org.pacien.tincapp.activities.status.networkinfo.VpnInterfaceConfigurationFormatter"/>
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
diff --git a/app/src/main/res/layout/status_node_list.xml b/app/src/main/res/layout/status_node_list.xml
new file mode 100644
index 0000000..d3c4831
--- /dev/null
+++ b/app/src/main/res/layout/status_node_list.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 71a04b7..7520cd8 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -29,5 +29,5 @@
#d9d9d9
#FFFFFF
- #d9d9d9
+ #dddddd
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 98a6905..84b098f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -129,7 +129,7 @@
no
none
- Loading…
+ Loading…
Loading…
Node info
Close
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 859d4ee..813b040 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -19,6 +19,7 @@
-->
+
+
+
+
--
cgit v1.2.3