Я разработал пользовательскую фигуру
![enter image description here](https://i.stack.imgur.com/fsAxn.png)
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:bottom="0dp"
android:left="30dp"
android:right="30dp"
android:top="-30dp">
<shape android:shape="rectangle">
<size
android:width="80dp"
android:height="40dp" />
<solid android:color="@color/colorPrimary" />
<corners
android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp"
android:topLeftRadius="10dp"
android:topRightRadius="10dp" />
</shape>
</item>
<item>
<shape android:shape="rectangle">
<size
android:width="100dp"
android:height="40dp" />
<solid android:color="@color/colorPrimary" />
<corners android:radius="0dp" />
</shape>
</item>
</layer-list>
Теперь, когда я пытаюсь применить это к фону макета, который BottomSheet
это нене имеет никакого эффекта и просто покрывает весь экран синим фоном (он становится сплошным плоским синим прямоугольником)
![enter image description here](https://i.stack.imgur.com/uciXA.png)
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/bottom_sheet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/background_features"
android:padding="32dp"
app:behavior_hideable="false"
app:behavior_peekHeight="@dimen/partial_features_peek_height_50dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
Как можноЯ применяю этот пользовательский фон в его форме