Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="50dp" >
  5.  
  6. <AutoCompleteTextView
  7. android:id="@+id/edit_search"
  8. android:layout_width="fill_parent"
  9. android:layout_height="wrap_content"
  10. android:drawablePadding="8dp"
  11. android:hint="Search... "
  12. android:paddingLeft="30dp"
  13. android:paddingRight="10dp"
  14. android:singleLine="true" >
  15.  
  16. <requestFocus />
  17. </AutoCompleteTextView>
  18.  
  19. <Button
  20. android:id="@+id/img_btn_search"
  21. android:layout_width="30dp"
  22. android:layout_height="30dp"
  23. android:layout_alignBaseline="@+id/edit_search"
  24. android:layout_alignBottom="@+id/edit_search"
  25. android:layout_alignParentRight="true"
  26. android:background="@drawable/btn_search_updated" />
  27.  
  28. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement