Advertisement
wildanfuady

Untitled

Feb 19th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".ListActivity">
  8.  
  9. <androidx.appcompat.widget.Toolbar
  10. android:id="@+id/toolbar"
  11. android:layout_width="match_parent"
  12. android:layout_height="?attr/actionBarSize"
  13. android:background="@color/colorPrimary"
  14. />
  15.  
  16. <com.miguelcatalan.materialsearchview.MaterialSearchView
  17. android:id="@+id/search_view"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. app:searchBackground="@color/colorPrimary"
  21. app:searchSuggestionBackground="@color/colorPrimary"
  22. app:searchCloseIcon="@drawable/ic_action_navigation_close_inverted"
  23. app:searchBackIcon="@drawable/ic_action_navigation_arrow_back_inverted"
  24. app:searchSuggestionIcon="@drawable/ic_suggestion"
  25. android:textColor="#FFFFFF"
  26. android:textColorHint="#FFFFFF"
  27. />
  28.  
  29. <ListView
  30. android:id="@+id/listView"
  31. android:layout_height="fill_parent"
  32. android:layout_width="match_parent"
  33. android:layout_below="@+id/toolbar"
  34. android:divider="#806326"
  35. android:dividerHeight="1dp"
  36. />
  37.  
  38. <com.google.android.material.floatingactionbutton.FloatingActionButton
  39. android:layout_alignParentBottom="true"
  40. android:layout_alignParentRight="true"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_gravity="end|bottom"
  44. android:src="@drawable/ic_add_white"
  45. android:layout_margin="15dp"
  46. app:fabSize="normal"
  47. app:borderWidth="0dp"
  48. app:elevation="6dp"
  49. android:backgroundTint="@color/colorPrimary"
  50. android:id="@+id/toFormActivity"/>
  51.  
  52. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement