aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/start_network_list.xml
diff options
context:
space:
mode:
authorpacien2018-08-20 16:52:49 +0200
committerpacien2018-08-20 16:52:49 +0200
commit957826db1e46bffcd99ee52f21101728279521b9 (patch)
tree4fb7b0a511c9b50dc8f174cd272c8719fcee380b /app/src/main/res/layout/start_network_list.xml
parentd6ea28ffe132807390721912f2310fd3f43d0405 (diff)
downloadtincapp-957826db1e46bffcd99ee52f21101728279521b9.tar.gz
Refactor start activity
Diffstat (limited to 'app/src/main/res/layout/start_network_list.xml')
-rw-r--r--app/src/main/res/layout/start_network_list.xml50
1 files changed, 50 insertions, 0 deletions
diff --git a/app/src/main/res/layout/start_network_list.xml b/app/src/main/res/layout/start_network_list.xml
new file mode 100644
index 0000000..02a78d1
--- /dev/null
+++ b/app/src/main/res/layout/start_network_list.xml
@@ -0,0 +1,50 @@
1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4 * Tinc App, an Android binding and user interface for the tinc mesh VPN daemon
5 * Copyright (C) 2017-2018 Pacien 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<LinearLayout
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:id="@+id/start_network_list_wrapper"
24 android:layout_width="match_parent"
25 android:layout_height="match_parent"
26 android:orientation="vertical">
27
28 <ListView
29 android:id="@+id/start_network_list"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:divider="@drawable/horizontal_line"/>
33
34 <LinearLayout
35 android:id="@+id/start_network_list_placeholder"
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
38 android:orientation="vertical">
39
40 <include
41 layout="@layout/start_network_list_header"/>
42
43 <TextView
44 android:id="@+id/start_network_list_placeholder_text"
45 style="@style/AppTheme.ListBlock.Placeholder"
46 android:text="@string/start_network_list_empty_none_found"/>
47
48 </LinearLayout>
49
50</LinearLayout>