aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/configure_browse_directories_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/configure_browse_directories_fragment.xml')
-rw-r--r--app/src/main/res/layout/configure_browse_directories_fragment.xml58
1 files changed, 58 insertions, 0 deletions
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 @@
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_LOG)}">
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>