Fix shadow clipping on the category hopper

This commit is contained in:
Jays2Kings 2022-12-17 14:36:57 -05:00
parent 1ad3034a3d
commit c3d2c19ab9
2 changed files with 5 additions and 1 deletions

View file

@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/library_layout" android:id="@+id/library_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:clipChildren="false"
android:layout_height="match_parent"> android:layout_height="match_parent">
<ProgressBar <ProgressBar
@ -114,6 +115,8 @@
tools:layout_marginBottom="62dp" tools:layout_marginBottom="62dp"
tools:layout_gravity="bottom|end" tools:layout_gravity="bottom|end"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:clipToPadding="false"
android:clipChildren="false"
android:layout_gravity="top|center"> android:layout_gravity="top|center">
<include layout="@layout/rounded_category_hopper" <include layout="@layout/rounded_category_hopper"

View file

@ -4,12 +4,13 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="20dp" android:layout_marginStart="20dp"
android:clipToPadding="false"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
app:strokeWidth="0dp" app:strokeWidth="0dp"
android:layout_marginEnd="20dp" android:layout_marginEnd="20dp"
android:layout_marginBottom="6dp" android:layout_marginBottom="6dp"
app:cardCornerRadius="18dp" app:cardCornerRadius="18dp"
app:cardElevation="12dp"> app:cardElevation="6dp">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/category_hopper_layout" android:id="@+id/category_hopper_layout"