Created
October 15, 2018 07:24
-
-
Save ch8n/53babaf3ea846cf8a17442fa698d867e to your computer and use it in GitHub Desktop.
Android bottom sheet behaviour fix after androidx migration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/bottom_sheet" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
app:behavior_hideable="true" | |
app:behavior_peekHeight="0dp" | |
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior" | |
tools:showIn="@layout/activity_main_genie"> | |
</androidx.appcompat.widget.LinearLayoutCompat> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment