From 96292ee01ec4b18b57f61b900142ea0cc1efa17d Mon Sep 17 00:00:00 2001 From: FongMi Date: Thu, 6 Apr 2023 10:06:13 +0800 Subject: [PATCH] [mobile] update ui --- .../mobile/res/layout/activity_history.xml | 41 ++++++------------ .../mobile/res/layout/fragment_setting.xml | 42 ++++++++++++------- 2 files changed, 41 insertions(+), 42 deletions(-) diff --git a/app/src/mobile/res/layout/activity_history.xml b/app/src/mobile/res/layout/activity_history.xml index 8e56eeb1b..7891513a5 100644 --- a/app/src/mobile/res/layout/activity_history.xml +++ b/app/src/mobile/res/layout/activity_history.xml @@ -1,15 +1,15 @@ - - + android:layout_height="match_parent" + android:descendantFocusability="blocksDescendants" + android:orientation="vertical"> + android:gravity="center_vertical"> - - - - - - + android:clipChildren="false" + android:clipToPadding="false" + android:padding="8dp" /> - - - \ No newline at end of file + + \ No newline at end of file diff --git a/app/src/mobile/res/layout/fragment_setting.xml b/app/src/mobile/res/layout/fragment_setting.xml index 295839dde..e553829cf 100644 --- a/app/src/mobile/res/layout/fragment_setting.xml +++ b/app/src/mobile/res/layout/fragment_setting.xml @@ -1,29 +1,43 @@ - + android:layout_height="match_parent"> - + android:background="@color/transparent"> + + + + + android:fillViewport="true" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + android:orientation="vertical" + android:paddingStart="16dp" + android:paddingTop="16dp" + android:paddingEnd="16dp" + android:paddingBottom="16dp"> - \ No newline at end of file + \ No newline at end of file