Adjust ui to m3 style

This commit is contained in:
Koitharu
2022-03-19 08:23:40 +02:00
parent ff25162834
commit 15ee102db4
46 changed files with 517 additions and 210 deletions

View File

@@ -15,16 +15,16 @@
android:id="@id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/fragment_list"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
tools:layout="@layout/fragment_list" />
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:background="@null"
android:stateListAnimator="@null">
<FrameLayout
@@ -32,7 +32,9 @@
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginVertical="8dp"
android:background="@drawable/toolbar_background">
android:background="@drawable/toolbar_background"
android:theme="@style/ThemeOverlay.Kotatsu.MainToolbar"
app:layout_scrollFlags="scroll|enterAlways">
<com.google.android.material.appbar.MaterialToolbar
android:id="@id/toolbar"