aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/base_activity.xml4
-rw-r--r--app/src/main/res/layout/common_progress_dialog.xml4
-rw-r--r--app/src/main/res/layout/configure_activity.xml18
-rw-r--r--app/src/main/res/layout/configure_browse_directories_fragment.xml58
-rw-r--r--app/src/main/res/layout/configure_tools_dialog_encrypt_decrypt_keys.xml4
-rw-r--r--app/src/main/res/layout/configure_tools_dialog_network_generate.xml4
-rw-r--r--app/src/main/res/layout/configure_tools_dialog_network_join.xml4
-rw-r--r--app/src/main/res/layout/configure_tools_fragment.xml6
-rw-r--r--app/src/main/res/layout/configure_tools_path_info_fragment.xml74
-rw-r--r--app/src/main/res/layout/dialog_decrypt_keys.xml4
-rw-r--r--app/src/main/res/layout/start_activity.xml6
-rw-r--r--app/src/main/res/layout/start_error_notification.xml36
-rw-r--r--app/src/main/res/layout/start_network_list.xml4
-rw-r--r--app/src/main/res/layout/start_network_list_header.xml4
-rw-r--r--app/src/main/res/layout/start_network_list_item.xml4
-rw-r--r--app/src/main/res/layout/status_activity.xml4
-rw-r--r--app/src/main/res/layout/status_network_info_fragment.xml4
-rw-r--r--app/src/main/res/layout/status_node_info_dialog.xml4
-rw-r--r--app/src/main/res/layout/status_node_list_fragment.xml4
-rw-r--r--app/src/main/res/layout/status_node_list_item.xml4
-rw-r--r--app/src/main/res/layout/status_subnet_list_fragment.xml4
-rw-r--r--app/src/main/res/layout/status_subnet_list_item.xml4
-rw-r--r--app/src/main/res/layout/view_log_activity.xml4
23 files changed, 140 insertions, 126 deletions
diff --git a/app/src/main/res/layout/base_activity.xml b/app/src/main/res/layout/base_activity.xml
index 5227657..e783552 100644
--- a/app/src/main/res/layout/base_activity.xml
+++ b/app/src/main/res/layout/base_activity.xml
@@ -1,8 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2 2
3<!-- 3<!--
4 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon 4 * Tinc Mesh VPN: Android client and user interface
5 * Copyright (C) 2017-2019 Pacien TRAN-GIRARD 5 * Copyright (C) 2017-2019 Euxane P. TRAN-GIRARD
6 * 6 *
7 * This program is free software: you can redistribute it and/or modify 7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
diff --git a/app/src/main/res/layout/common_progress_dialog.xml b/app/src/main/res/layout/common_progress_dialog.xml
index fa2f37d..130fe6a 100644
--- a/app/src/main/res/layout/common_progress_dialog.xml
+++ b/app/src/main/res/layout/common_progress_dialog.xml
@@ -1,8 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2 2
3<!-- 3<!--
4 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon 4 * Tinc Mesh VPN: Android client and user interface
5 * Copyright (C) 2017-2018 Pacien TRAN-GIRARD 5 * Copyright (C) 2017-2018 Euxane P. TRAN-GIRARD
6 * 6 *
7 * This program is free software: you can redistribute it and/or modify 7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
diff --git a/app/src/main/res/layout/configure_activity.xml b/app/src/main/res/layout/configure_activity.xml
index 5d796fb..67a35d2 100644
--- a/app/src/main/res/layout/configure_activity.xml
+++ b/app/src/main/res/layout/configure_activity.xml
@@ -1,8 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2 2
3<!-- 3<!--
4 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon 4 * Tinc Mesh VPN: Android client and user interface
5 * Copyright (C) 2017-2023 Pacien TRAN-GIRARD 5 * Copyright (C) 2017-2023 Euxane P. TRAN-GIRARD
6 * 6 *
7 * This program is free software: you can redistribute it and/or modify 7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -28,23 +28,23 @@
28 android:layout_height="wrap_content" 28 android:layout_height="wrap_content"
29 android:orientation="vertical"> 29 android:orientation="vertical">
30 30
31 <TextView 31 <TextView
32 style="@style/AppTheme.SectionTitle" 32 style="@style/AppTheme.SectionTitle"
33 android:text="@string/configure_activity_title_tools"/> 33 android:text="@string/configure_activity_title_directories"/>
34 34
35 <fragment 35 <fragment
36 android:id="@+id/configure_activity_tools_fragment" 36 android:id="@+id/configure_activity_path_info_fragment"
37 android:name="org.pacien.tincapp.activities.configure.ToolsFragment" 37 android:name="org.pacien.tincapp.activities.configure.BrowseDirectoriesFragment"
38 android:layout_width="match_parent" 38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"/> 39 android:layout_height="wrap_content"/>
40 40
41 <TextView 41 <TextView
42 style="@style/AppTheme.SectionTitle" 42 style="@style/AppTheme.SectionTitle"
43 android:text="@string/configure_activity_title_internal_paths_info"/> 43 android:text="@string/configure_activity_title_tools"/>
44 44
45 <fragment 45 <fragment
46 android:id="@+id/configure_activity_path_info_fragment" 46 android:id="@+id/configure_activity_tools_fragment"
47 android:name="org.pacien.tincapp.activities.configure.PathInfoFragment" 47 android:name="org.pacien.tincapp.activities.configure.ToolsFragment"
48 android:layout_width="match_parent" 48 android:layout_width="match_parent"
49 android:layout_height="wrap_content"/> 49 android:layout_height="wrap_content"/>
50 50
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..97b4548
--- /dev/null
+++ b/app/src/main/res/layout/configure_browse_directories_fragment.xml
@@ -0,0 +1,58 @@
1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4 * Tinc Mesh VPN: Android client and user interface
5 * Copyright (C) 2017-2024 Euxane P. TRAN-GIRARD
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19-->
20
21<layout xmlns:android="http://schemas.android.com/apk/res/android">
22
23 <data>
24
25 <import
26 type="org.pacien.tincapp.storageprovider.FilesDocumentsProvider"/>
27
28 <variable
29 name="openDirectoryTree"
30 type="kotlin.jvm.functions.Function1&lt;String, kotlin.Unit>"/>
31
32 </data>
33
34 <LinearLayout style="@style/AppTheme.List">
35
36 <LinearLayout
37 style="@style/AppTheme.ListBlock.Clickable"
38 android:onClick="@{() -> openDirectoryTree.invoke(FilesDocumentsProvider.VIRTUAL_ROOT_NETWORKS)}">
39
40 <TextView
41 style="@style/AppTheme.BlockTitle"
42 android:text="@string/configure_browse_directories_action_open_networks_config" />
43
44 </LinearLayout>
45
46 <LinearLayout
47 style="@style/AppTheme.ListBlock.Clickable"
48 android:onClick="@{() -> openDirectoryTree.invoke(FilesDocumentsProvider.VIRTUAL_ROOT_LOGS)}">
49
50 <TextView
51 style="@style/AppTheme.BlockTitle"
52 android:text="@string/configure_browse_directories_action_open_logs" />
53
54 </LinearLayout>
55
56 </LinearLayout>
57
58</layout>
diff --git a/app/src/main/res/layout/configure_tools_dialog_encrypt_decrypt_keys.xml b/app/src/main/res/layout/configure_tools_dialog_encrypt_decrypt_keys.xml
index d21c4e6..d164df3 100644
--- a/app/src/main/res/layout/configure_tools_dialog_encrypt_decrypt_keys.xml
+++ b/app/src/main/res/layout/configure_tools_dialog_encrypt_decrypt_keys.xml
@@ -1,8 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2 2
3<!-- 3<!--
4 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon 4 * Tinc Mesh VPN: Android client and user interface
5 * Copyright (C) 2017-2020 Pacien TRAN-GIRARD 5 * Copyright (C) 2017-2020 Euxane P. TRAN-GIRARD
6 * 6 *
7 * This program is free software: you can redistribute it and/or modify 7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
diff --git a/app/src/main/res/layout/configure_tools_dialog_network_generate.xml b/app/src/main/res/layout/configure_tools_dialog_network_generate.xml
index a1c054a..c7973f1 100644
--- a/app/src/main/res/layout/configure_tools_dialog_network_generate.xml
+++ b/app/src/main/res/layout/configure_tools_dialog_network_generate.xml
@@ -1,8 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?> 1<?xml version="1.0" encoding="utf-8"?>
2 2
3<!-- 3<!--
4 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon 4 * Tinc Mesh VPN: Android client and user interface
5 * Copyright (C) 2017-2020 Pacien TRAN-GIRARD 5 * Copyright (C) 2017-2020 Euxane P. TRAN-GIRARD