diff options
author | pacien | 2018-08-20 00:53:22 +0200 |
---|---|---|
committer | pacien | 2018-08-20 00:53:22 +0200 |
commit | b5884b3ad4964d6bdbbb92c160bed84cdbb059a1 (patch) | |
tree | c479a86d1a1d349f11ea6474c0a8ee3e3754c31d /app/src/main/res/layout/status_activity.xml | |
parent | daf8d2fe48f1e2d5cef79b978ad73991bf1f0011 (diff) | |
download | tincapp-b5884b3ad4964d6bdbbb92c160bed84cdbb059a1.tar.gz |
Split status activity into tabs
Refactoring the underlying code to use lifecycle-aware classes
Diffstat (limited to 'app/src/main/res/layout/status_activity.xml')
-rw-r--r-- | app/src/main/res/layout/status_activity.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/res/layout/status_activity.xml b/app/src/main/res/layout/status_activity.xml new file mode 100644 index 0000000..5da6d21 --- /dev/null +++ b/app/src/main/res/layout/status_activity.xml | |||
@@ -0,0 +1,30 @@ | |||
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 | <android.support.v4.view.ViewPager | ||
22 | xmlns:android="http://schemas.android.com/apk/res/android" | ||
23 | android:id="@+id/status_activity_pager" | ||
24 | android:layout_width="match_parent" | ||
25 | android:layout_height="match_parent"> | ||
26 | |||
27 | <android.support.design.widget.TabLayout | ||
28 | style="@style/AppTheme.TabLayout"/> | ||
29 | |||
30 | </android.support.v4.view.ViewPager> | ||