Java 底部图纸集hidable不适用于我的拖动事件
我需要当底部的床单折叠时,屏幕上没有任何高度。 然后,若用户将从底部拖动,则仅显示我的底部工作表。如果我将使用一个按钮点击,然后它的工作。但我只需要在“将机器人拖动到顶部”事件中使用此选项Java 底部图纸集hidable不适用于我的拖动事件,java,bottom-sheet,Java,Bottom Sheet,我需要当底部的床单折叠时,屏幕上没有任何高度。 然后,若用户将从底部拖动,则仅显示我的底部工作表。如果我将使用一个按钮点击,然后它的工作。但我只需要在“将机器人拖动到顶部”事件中使用此选项 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+i
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/bottomSheet"
android:layout_width="match_parent"
android:layout_height="300dp"
android:orientation="vertical"
android:background="#FFFFFF"
app:layout_behavior="@string/bottom_sheet_behavior"
app:behavior_hideable="true"
app:behavior_peekHeight="64dp" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:padding="16dp"
android:text="BOTTOM SHEET" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:padding="16dp"
android:text="Texto de prueba" />
</LinearLayout>