diff options
author | pacien | 2018-08-19 18:04:58 +0200 |
---|---|---|
committer | pacien | 2018-08-19 18:04:58 +0200 |
commit | 483e6634e0621d2100ae11cbcd8cba6d21a76c4e (patch) | |
tree | 0d2fda7f5e6026c5f091df2188f2e8396de42091 /app/src/main/res/layout/view_log_activity.xml | |
parent | 3b353c4037f3c52710287777a17110dad6b9d720 (diff) | |
download | tincapp-483e6634e0621d2100ae11cbcd8cba6d21a76c4e.tar.gz |
Refactor log viewer activity
Diffstat (limited to 'app/src/main/res/layout/view_log_activity.xml')
-rw-r--r-- | app/src/main/res/layout/view_log_activity.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/src/main/res/layout/view_log_activity.xml b/app/src/main/res/layout/view_log_activity.xml new file mode 100644 index 0000000..da663e4 --- /dev/null +++ b/app/src/main/res/layout/view_log_activity.xml | |||
@@ -0,0 +1,39 @@ | |||
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 | <ScrollView | ||
22 | xmlns:android="http://schemas.android.com/apk/res/android" | ||
23 | android:id="@+id/log_view_frame" | ||
24 | android:layout_width="match_parent" | ||
25 | android:layout_height="match_parent" | ||
26 | android:fadeScrollbars="false"> | ||
27 | |||
28 | <TextView | ||
29 | android:id="@+id/log_view_text" | ||
30 | android:layout_width="match_parent" | ||
31 | android:layout_height="wrap_content" | ||
32 | android:fontFamily="monospace" | ||
33 | android:paddingBottom="@dimen/activity_vertical_margin" | ||
34 | android:paddingLeft="@dimen/activity_horizontal_margin" | ||
35 | android:paddingRight="@dimen/activity_horizontal_margin" | ||
36 | android:paddingTop="@dimen/activity_vertical_margin" | ||
37 | android:textColor="@color/textSecondary" | ||
38 | android:textSize="12sp"/> | ||
39 | </ScrollView> | ||