Fix shadow on category hopper

This commit is contained in:
Jays2Kings 2021-03-25 22:04:12 -04:00
parent 62158ac761
commit b7eebcef53
2 changed files with 5 additions and 5 deletions

View File

@ -117,7 +117,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="top|center" android:layout_gravity="top|center"
android:elevation="6dp"> android:translationZ="50dp">
<include layout="@layout/rounded_category_hopper" /> <include layout="@layout/rounded_category_hopper" />

View File

@ -8,7 +8,7 @@
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:layout_marginBottom="6dp" android:layout_marginBottom="6dp"
app:cardCornerRadius="25dp" app:cardCornerRadius="25dp"
app:cardElevation="10dp"> app:cardElevation="3dp">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/category_hopper_layout" android:id="@+id/category_hopper_layout"
@ -27,7 +27,7 @@
android:contentDescription="@string/previous_title" android:contentDescription="@string/previous_title"
android:padding="8dp" android:padding="8dp"
android:src="@drawable/ic_expand_less_24dp" android:src="@drawable/ic_expand_less_24dp"
android:tint="@android:color/white" app:tint="@android:color/white"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/category_button" app:layout_constraintEnd_toStartOf="@id/category_button"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -41,7 +41,7 @@
android:contentDescription="@string/categories" android:contentDescription="@string/categories"
android:padding="8dp" android:padding="8dp"
android:src="@drawable/ic_label_outline_24dp" android:src="@drawable/ic_label_outline_24dp"
android:tint="@android:color/white" app:tint="@android:color/white"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/down_category" app:layout_constraintEnd_toStartOf="@id/down_category"
app:layout_constraintStart_toEndOf="@id/up_category" app:layout_constraintStart_toEndOf="@id/up_category"
@ -56,7 +56,7 @@
android:contentDescription="@string/next_title" android:contentDescription="@string/next_title"
android:padding="8dp" android:padding="8dp"
android:src="@drawable/ic_expand_more_24dp" android:src="@drawable/ic_expand_more_24dp"
android:tint="@android:color/white" app:tint="@android:color/white"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/category_button" app:layout_constraintStart_toEndOf="@id/category_button"