Advertisement
ricky_yulianto

Untitled

Apr 26th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 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:card_view="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/container"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/bg">
  8.  
  9. <include
  10. android:id="@+id/toolbar_main"
  11. layout="@layout/row_toolbar"/>
  12.  
  13. <LinearLayout
  14. android:id="@+id/lay_search"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_below="@+id/toolbar_main"
  18. android:background="@color/white">
  19.  
  20.  
  21. <RelativeLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_marginLeft="10dp"
  25. android:layout_marginRight="10dp">
  26.  
  27. <EditText
  28. android:id="@+id/edt_home_search"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:layout_centerVertical="true"
  32. android:layout_marginStart="5dp"
  33. android:layout_toStartOf="@+id/image_home_search"
  34. android:background="@drawable/edittext_corner"
  35. android:fontFamily="@font/montserrat"
  36. android:hint="@string/search_here_home"
  37. android:imeOptions="actionSearch"
  38. android:inputType="textPersonName"
  39. android:textColor="@color/gray" />
  40.  
  41. <ImageView
  42. android:id="@+id/image_home_search"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. android:layout_alignParentEnd="true"
  46. android:layout_centerVertical="true"
  47. android:layout_margin="3dp"
  48. android:src="@drawable/ic_home_search" />
  49.  
  50. </RelativeLayout>
  51.  
  52. </LinearLayout>
  53.  
  54.  
  55.  
  56.  
  57.  
  58. <!--<ScrollView-->
  59. <!--android:id="@+id/scrollView"-->
  60. <!--android:layout_width="match_parent"-->
  61. <!--android:layout_height="wrap_content">-->
  62.  
  63.  
  64.  
  65.  
  66.  
  67. <!--</ScrollView>-->
  68.  
  69.  
  70. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement