From 58f563a79867ae5973d5d45dba265f1b293bb0c3 Mon Sep 17 00:00:00 2001
From: euxane
Date: Wed, 18 Sep 2024 23:41:13 +0200
Subject: activities/configure: replace config and log paths with browse links
---
app/src/main/res/layout/configure_activity.xml | 14 ++--
.../configure_browse_directories_fragment.xml | 58 +++++++++++++++++
.../layout/configure_tools_path_info_fragment.xml | 74 ----------------------
app/src/main/res/values/strings.xml | 8 +--
4 files changed, 69 insertions(+), 85 deletions(-)
create mode 100644 app/src/main/res/layout/configure_browse_directories_fragment.xml
delete mode 100644 app/src/main/res/layout/configure_tools_path_info_fragment.xml
(limited to 'app/src/main/res')
diff --git a/app/src/main/res/layout/configure_activity.xml b/app/src/main/res/layout/configure_activity.xml
index dfb47c2..67a35d2 100644
--- a/app/src/main/res/layout/configure_activity.xml
+++ b/app/src/main/res/layout/configure_activity.xml
@@ -28,23 +28,23 @@
android:layout_height="wrap_content"
android:orientation="vertical">
-
+ android:text="@string/configure_activity_title_directories"/>
+ android:text="@string/configure_activity_title_tools"/>
diff --git a/app/src/main/res/layout/configure_browse_directories_fragment.xml b/app/src/main/res/layout/configure_browse_directories_fragment.xml
new file mode 100644
index 0000000..e0fc64a
--- /dev/null
+++ b/app/src/main/res/layout/configure_browse_directories_fragment.xml
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/configure_tools_path_info_fragment.xml b/app/src/main/res/layout/configure_tools_path_info_fragment.xml
deleted file mode 100644
index 5704a0f..0000000
--- a/app/src/main/res/layout/configure_tools_path_info_fragment.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 72adb1d..8ded24f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -85,10 +85,10 @@
Invalid network name.
Network configuration written.
- Internal paths info
- Configuration directory
- Log directory
- tinc binary
+ Directories
+ Open networks configuration directory
+ Open logs directory
+ No file browser found to open target.
Tools
Generate node configuration and keys
--
cgit v1.2.3