From 8b43ebc7b46be9b5ce31dc88b3f7463f1d346b36 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 5 May 2024 13:49:42 +0200 Subject: [PATCH] feat: implement collapsable toolbar in welcome activity --- .../main/res/layout-land/activity_welcome.xml | 95 -------------- app/src/main/res/layout/activity_welcome.xml | 120 ++++++++++++------ 2 files changed, 78 insertions(+), 137 deletions(-) delete mode 100644 app/src/main/res/layout-land/activity_welcome.xml diff --git a/app/src/main/res/layout-land/activity_welcome.xml b/app/src/main/res/layout-land/activity_welcome.xml deleted file mode 100644 index f6777cbfd..000000000 --- a/app/src/main/res/layout-land/activity_welcome.xml +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/activity_welcome.xml b/app/src/main/res/layout/activity_welcome.xml index df99d8430..90ba11f89 100644 --- a/app/src/main/res/layout/activity_welcome.xml +++ b/app/src/main/res/layout/activity_welcome.xml @@ -1,65 +1,101 @@ - + tools:context=".ui.activities.WelcomeActivity"> - - - + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> - + + + + + + + + + + + + + + + + + + + android:fadeScrollbars="false" + android:paddingBottom="100dp" + android:scrollbars="vertical" + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> - - + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> - + android:layout_gravity="top|center" + android:layout_marginTop="50dp" /> + android:layout_gravity="bottom" + android:background="?android:colorBackground" + android:paddingHorizontal="15dp" + android:paddingTop="10dp" + android:paddingBottom="5dp"> - \ No newline at end of file + \ No newline at end of file