aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/page_viewlog.xml
diff options
context:
space:
mode:
authorpacien2018-03-04 19:24:28 +0100
committerpacien2018-03-04 19:24:28 +0100
commit1f30a8838d787f31dbc0af83458d73afef104927 (patch)
tree7615b1f28efe173d1831c61dc4cf37390dbf9932 /app/src/main/res/layout/page_viewlog.xml
parent44d00258bf0c7786ec6db9c19809db126e6c8172 (diff)
downloadtincapp-1f30a8838d787f31dbc0af83458d73afef104927.tar.gz
Refactor log viewer, enhance scrolling
Diffstat (limited to 'app/src/main/res/layout/page_viewlog.xml')
-rw-r--r--app/src/main/res/layout/page_viewlog.xml27
1 files changed, 16 insertions, 11 deletions
diff --git a/app/src/main/res/layout/page_viewlog.xml b/app/src/main/res/layout/page_viewlog.xml
index a7afed8..0795554 100644
--- a/app/src/main/res/layout/page_viewlog.xml
+++ b/app/src/main/res/layout/page_viewlog.xml
@@ -1,13 +1,18 @@
1<TextView 1<ScrollView
2 xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/text_log" 3 android:id="@+id/logview_frame"
4 android:layout_width="match_parent" 4 android:layout_width="match_parent"
5 android:layout_height="wrap_content" 5 android:layout_height="match_parent">
6 android:fontFamily="monospace" 6
7 android:gravity="bottom" 7 <TextView
8 android:paddingLeft="@dimen/activity_horizontal_margin" 8 android:id="@+id/logview_text"
9 android:paddingRight="@dimen/activity_horizontal_margin" 9 android:layout_width="match_parent"
10 android:scrollbarStyle="outsideOverlay" 10 android:layout_height="wrap_content"
11 android:scrollbars="vertical" 11 android:fontFamily="monospace"
12 android:textColor="@color/colorPrimary" 12 android:paddingBottom="@dimen/activity_vertical_margin"
13 android:textSize="12sp"/> 13 android:paddingLeft="@dimen/activity_horizontal_margin"
14 android:paddingRight="@dimen/activity_horizontal_margin"
15 android:paddingTop="@dimen/activity_vertical_margin"
16 android:textColor="@color/colorPrimary"
17 android:textSize="12sp"/>
18</ScrollView>