Guest User

listview_home.xml

a guest
Feb 12th, 2018
1,490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.99 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:tools="http://schemas.android.com/tools"
  4.  
  5. android:layout_width="fill_parent"
  6. android:layout_height="fill_parent"
  7. tools:context=".HomeItem"
  8. android:orientation="vertical"
  9. android:background="@color/putih" >
  10. <EditText
  11. android:id="@+id/et"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:hint="masukan kata kunci"
  15. android:layout_toLeftOf="@+id/btn" >
  16. <requestFocus />
  17. </EditText>
  18. <Button
  19.  
  20. android:id="@+id/btn"
  21. android:layout_width="50dp"
  22. android:layout_height="wrap_content"
  23. android:layout_alignParentRight="true"
  24. android:layout_alignParentTop="true"
  25. android:onClick="search_db"
  26. android:background="@drawable/ic_search"
  27. android:layout_above="@+id/lv" />
  28.  
  29. <ListView
  30. android:id="@+id/lv"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:layout_below="@+id/et">
  34.  
  35. </ListView>
  36. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment