1<?xml version="1.0" encoding="utf-8"?> 2<LinearLayout 3 xmlns:android="http://schemas.android.com/apk/res/android" 4 xmlns:app="http://schemas.android.com/apk/res-auto" 5 android:id="@+id/keyPathsBottomSheet" 6 android:layout_width="match_parent" 7 android:layout_height="match_parent" 8 android:orientation="vertical" 9 android:background="@android:color/white" 10 app:behavior_hideable="true" 11 app:behavior_peekHeight="80dp" 12 app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> 13 14 <View 15 android:layout_width="match_parent" 16 android:layout_height="@dimen/divider_height" 17 android:background="@color/divider" /> 18 19 <LinearLayout 20 android:layout_width="match_parent" 21 android:layout_height="wrap_content" 22 android:orientation="horizontal" 23 android:gravity="center_vertical"> 24 25 <TextView 26 android:layout_width="0dp" 27 android:layout_height="wrap_content" 28 android:layout_weight="1" 29 android:textSize="20sp" 30 android:textStyle="bold" 31 android:layout_marginTop="24dp" 32 android:layout_marginBottom="24dp" 33 android:layout_marginLeft="24dp" 34 android:textColor="@android:color/black" 35 android:text="@string/key_paths_title"/> 36 37 <ImageButton 38 android:id="@+id/closeKeyPathsBottomSheetButton" 39 android:layout_width="wrap_content" 40 android:layout_height="wrap_content" 41 android:layout_marginRight="16dp" 42 android:background="?attr/selectableItemBackgroundBorderless" 43 app:srcCompat="@drawable/ic_close"/> 44 </LinearLayout> 45 46 <com.airbnb.epoxy.EpoxyRecyclerView 47 android:id="@+id/keyPathsRecyclerView" 48 android:layout_width="match_parent" 49 android:layout_height="match_parent" 50 app:layoutManager="LinearLayoutManager" /> 51 52</LinearLayout>