Update UI

This commit is contained in:
Zakhar Timoshenko
2023-08-23 20:42:40 +03:00
parent b3b022807a
commit 3cc0fbe7bc
15 changed files with 69 additions and 25 deletions

View File

@@ -41,7 +41,7 @@
style="@style/Widget.Material3.BottomSheet"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:backgroundTint="?colorBackgroundFloating"
android:backgroundTint="?attr/m3ColorBottomMenuBackground"
android:orientation="vertical"
android:visibility="gone"
app:behavior_hideable="false"

View File

@@ -26,7 +26,7 @@
android:id="@+id/appbar_top"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?colorBackgroundFloating"
android:background="?m3ColorBottomMenuBackground"
android:elevation="@dimen/m3_card_elevated_elevation"
app:elevation="@dimen/m3_card_elevated_elevation"
app:liftOnScroll="false">
@@ -48,7 +48,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_margin="8dp"
app:cardBackgroundColor="?colorBackgroundFloating"
app:cardBackgroundColor="?m3ColorBottomMenuBackground"
app:layout_insetEdge="bottom">
<com.google.android.material.appbar.MaterialToolbar
@@ -63,6 +63,7 @@
android:layout_height="wrap_content"
android:stepSize="1"
android:valueFrom="0"
app:trackColorInactive="?attr/m3ColorBackground"
app:labelBehavior="floating"
app:tickVisible="false" />

View File

@@ -5,8 +5,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="8dp"
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="8dp"
app:shapeAppearance="?shapeAppearanceCornerExtraLarge"
tools:icon="@drawable/ic_notification"
tools:primaryButtonText="@string/settings"