Я добавил в него приложение BottomSheet с RecyclerView, но я не могу прокрутить RecyclerView, и я не могу выяснить, в чем проблема.Android BottomSheet с RecyclerView
Вот мой BottomSheet:
<!-- bottom sheet -->
<FrameLayout
android:id="@+id/bottom_sheet"
style="@style/Widget.Design.BottomSheet.Modal"
android:layout_width="match_parent"
android:layout_height="0dp"
app:behavior_hideable="true"
app:behavior_peekHeight="90dp"
app:layout_behavior="@string/bottom_sheet_behavior">
<!-- horizontal thumbnail -->
<android.support.v7.widget.RecyclerView
android:id="@+id/horizontal_thumbnail"
android:layout_width="match_parent"
android:layout_height="90dp"/>
<!-- vertical thumbnail -->
<android.support.v7.widget.RecyclerView
android:id="@+id/vertical_thumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
</FrameLayout>
Вертикальная миниатюр видна, когда лист расширяется, горизонтальная видна, когда список свернут.