Advertisement
Guest User

bottom_layout

a guest
Oct 22nd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout app:layout_behavior="android.support.design.widget.BottomSheetBehavior"
  3. android:id="@+id/fragment_history_menu_bottom"
  4. android:layout_width="match_parent"
  5. android:layout_height="180dp"
  6. android:orientation="vertical"
  7. android:background="#ffffff"
  8. xmlns:android="http://schemas.android.com/apk/res/android"
  9. xmlns:app="http://schemas.android.com/apk/res-auto">
  10. <LinearLayout
  11. android:id="@+id/fragment_history_bottom_sheet_edit"
  12. android:layout_width="match_parent"
  13. android:layout_height="60dp"
  14. android:clickable="true"
  15. android:focusable="true"
  16. android:orientation="horizontal"
  17. android:foreground="?android:attr/selectableItemBackground"
  18. android:padding="16dp">
  19. <ImageView
  20. android:layout_width="wrap_content"
  21. android:layout_height="match_parent"
  22. android:src="@drawable/edit"
  23. />
  24. <TextView
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_gravity="center"
  28. android:layout_marginLeft="16dp"
  29. android:text="Edit"/>
  30. </LinearLayout>
  31. <LinearLayout
  32. android:id="@+id/fragment_history_bottom_sheet_delete"
  33. android:layout_width="match_parent"
  34. android:layout_height="60dp"
  35. android:clickable="true"
  36. android:focusable="true"
  37. android:orientation="horizontal"
  38. android:foreground="?android:attr/selectableItemBackground"
  39. android:padding="16dp">
  40. <ImageView
  41. android:layout_width="wrap_content"
  42. android:layout_height="match_parent"
  43.  
  44. android:src="@drawable/trash"
  45. />
  46. <TextView
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:layout_gravity="center"
  50. android:layout_marginLeft="16dp"
  51. android:text="Delete"/>
  52. </LinearLayout>
  53. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement