aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/status_subnet_list_item.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/status_subnet_list_item.xml')
-rw-r--r--app/src/main/res/layout/status_subnet_list_item.xml50
1 files changed, 50 insertions, 0 deletions
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 @@
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<layout xmlns:android="http://schemas.android.com/apk/res/android">
22
23 <data>
24
25 <variable
26 name="subnetInfo"
27 type="org.pacien.tincapp.activities.status.subnets.SubnetInfo"/>
28
29 </data>
30
31 <LinearLayout
32 style="@style/AppTheme.ListBlock"
33 android:layout_width="match_parent"
34 android:layout_height="wrap_content"
35 android:orientation="horizontal">
36
37 <TextView
38 style="@style/AppTheme.BlockTitle"
39 android:layout_weight="1"
40 android:text="@{subnetInfo.ipRange}"/>
41
42 <TextView
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_weight="0"
46 android:text="@{subnetInfo.owner}"/>
47
48 </LinearLayout>
49
50</layout>