From d1de65101a3b19db7badc313e575e38c1ce1b468 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 12 Dec 2019 00:08:38 +0100 Subject: Make tab bar better on small devices, worse on large ... :/ --- main/src/main/res/color/tab_text.xml | 5 +++++ main/src/ui/res/layout/main_activity.xml | 28 +++++++++++++++------------- main/src/ui/res/values/styles.xml | 17 +++++++++++++---- 3 files changed, 33 insertions(+), 17 deletions(-) create mode 100644 main/src/main/res/color/tab_text.xml diff --git a/main/src/main/res/color/tab_text.xml b/main/src/main/res/color/tab_text.xml new file mode 100644 index 00000000..0bfb7dce --- /dev/null +++ b/main/src/main/res/color/tab_text.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/main/src/ui/res/layout/main_activity.xml b/main/src/ui/res/layout/main_activity.xml index d47bacc5..b2fe2251 100644 --- a/main/src/ui/res/layout/main_activity.xml +++ b/main/src/ui/res/layout/main_activity.xml @@ -4,25 +4,27 @@ --> + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + android:id="@+id/pager" + android:layout_width="match_parent" + android:layout_height="match_parent"> + /> diff --git a/main/src/ui/res/values/styles.xml b/main/src/ui/res/values/styles.xml index f90da367..e422124d 100644 --- a/main/src/ui/res/values/styles.xml +++ b/main/src/ui/res/values/styles.xml @@ -79,20 +79,29 @@ @null - - + \ No newline at end of file -- cgit v1.2.3