mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Update category hopper to be more like Material 3
This commit is contained in:
parent
1f304ec8a9
commit
087c00ab22
2 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="38dp"/>
|
||||
<corners android:radius="10dp"/>
|
||||
<solid android:color="?colorPrimaryVariant" />
|
||||
<size
|
||||
android:width="30dp"
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
app:strokeWidth="0dp"
|
||||
android:layout_marginEnd="20dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
app:cardCornerRadius="25dp"
|
||||
app:cardElevation="16dp">
|
||||
app:cardCornerRadius="18dp"
|
||||
app:cardElevation="12dp">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/category_hopper_layout"
|
||||
|
@ -26,7 +26,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:contentDescription="@string/previous_title"
|
||||
android:padding="10dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/ic_expand_less_24dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/category_button"
|
||||
|
@ -39,7 +39,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/categories"
|
||||
android:padding="10dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/ic_label_outline_24dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/down_category"
|
||||
|
@ -53,7 +53,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:contentDescription="@string/next_title"
|
||||
android:padding="10dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/ic_expand_more_24dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue