| <?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="wrap_content" > |
| |
| <EditText |
| android:id="@+id/clearable_edit" |
| android:layout_width="match_parent" |
| android:layout_height="50dp" |
| android:hint="Type phone number" |
| android:paddingRight="35dip" /> |
| |
| <Button |
| android:id="@+id/clearable_button_clear" |
| android:layout_width="30dip" |
| android:layout_height="30dip" |
| android:layout_alignParentRight="true" |
| android:layout_centerVertical="true" |
| android:layout_marginRight="5dip" |
| android:background="@drawable/ic_clear_search" /> |
| |
| </RelativeLayout> |