Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="50dp" >
- <AutoCompleteTextView
- android:id="@+id/edit_search"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:drawablePadding="8dp"
- android:hint="Search... "
- android:paddingLeft="30dp"
- android:paddingRight="10dp"
- android:singleLine="true" >
- <requestFocus />
- </AutoCompleteTextView>
- <Button
- android:id="@+id/img_btn_search"
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:layout_alignBaseline="@+id/edit_search"
- android:layout_alignBottom="@+id/edit_search"
- android:layout_alignParentRight="true"
- android:background="@drawable/btn_search_updated" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement