Skip to content

Instantly share code, notes, and snippets.

@beta
Last active August 18, 2016 08:02
Show Gist options
  • Save beta/0aea3b5026c747908ee866714eeae6ad to your computer and use it in GitHub Desktop.
Save beta/0aea3b5026c747908ee866714eeae6ad to your computer and use it in GitHub Desktop.
res/layout/design_bottom_sheet_dialog.xml of Android Support Design Library 23.4.0
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<View
android:id="@+id/touch_outside"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:soundEffectsEnabled="false"/>
<FrameLayout
android:id="@+id/design_bottom_sheet"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|top"
android:clickable="true"
app:layout_behavior="@string/bottom_sheet_behavior"
style="?attr/bottomSheetStyle"/>
</android.support.design.widget.CoordinatorLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment