From 4629e909c9f8dd6fdc7ec9ed1dcc4668311e134f Mon Sep 17 00:00:00 2001
From: pacien
Date: Tue, 21 Aug 2018 02:09:57 +0200
Subject: Add subnet list tab to status activity
---
app/src/main/res/layout/status_node_list.xml | 39 -----------------
.../main/res/layout/status_node_list_fragment.xml | 38 ++++++++++++++++
.../res/layout/status_subnet_list_fragment.xml | 38 ++++++++++++++++
.../main/res/layout/status_subnet_list_item.xml | 50 ++++++++++++++++++++++
app/src/main/res/values/strings.xml | 4 +-
app/src/main/res/values/styles.xml | 1 +
6 files changed, 130 insertions(+), 40 deletions(-)
delete mode 100644 app/src/main/res/layout/status_node_list.xml
create mode 100644 app/src/main/res/layout/status_node_list_fragment.xml
create mode 100644 app/src/main/res/layout/status_subnet_list_fragment.xml
create mode 100644 app/src/main/res/layout/status_subnet_list_item.xml
(limited to 'app/src/main/res')
diff --git a/app/src/main/res/layout/status_node_list.xml b/app/src/main/res/layout/status_node_list.xml
deleted file mode 100644
index 923d20e..0000000
--- a/app/src/main/res/layout/status_node_list.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/layout/status_node_list_fragment.xml b/app/src/main/res/layout/status_node_list_fragment.xml
new file mode 100644
index 0000000..fd000bb
--- /dev/null
+++ b/app/src/main/res/layout/status_node_list_fragment.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/status_subnet_list_fragment.xml b/app/src/main/res/layout/status_subnet_list_fragment.xml
new file mode 100644
index 0000000..1470bad
--- /dev/null
+++ b/app/src/main/res/layout/status_subnet_list_fragment.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/status_subnet_list_item.xml b/app/src/main/res/layout/status_subnet_list_item.xml
new file mode 100644
index 0000000..8f8e2c4
--- /dev/null
+++ b/app/src/main/res/layout/status_subnet_list_item.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3f2e800..827e996 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -115,8 +115,9 @@
Connected to %s
- Nodes
Network
+ Nodes
+ Subnets
Network name
IP addresses
@@ -140,6 +141,7 @@
Loading…
Node info
Close
+ Loading…
Log level: %s
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 813b040..fc4a6c3 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -60,6 +60,7 @@
- @dimen/activity_horizontal_margin
- @dimen/activity_vertical_margin
- vertical
+ - true