alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 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="wrap_content" > |
| 5 | |
| 6 | <EditText |
| 7 | android:id="@+id/clearable_edit" |
alision | 2cb9956 | 2013-05-30 17:02:20 -0400 | [diff] [blame] | 8 | android:layout_width="match_parent" |
| 9 | android:layout_height="50dp" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 10 | android:hint="Type phone number" |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 11 | android:paddingRight="35dip" /> |
| 12 | |
| 13 | <Button |
| 14 | android:id="@+id/clearable_button_clear" |
| 15 | android:layout_width="30dip" |
| 16 | android:layout_height="30dip" |
| 17 | android:layout_alignParentRight="true" |
| 18 | android:layout_centerVertical="true" |
| 19 | android:layout_marginRight="5dip" |
alision | 2424b51 | 2013-07-05 10:05:38 -0400 | [diff] [blame] | 20 | android:background="@drawable/ic_clear_search" /> |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 21 | |
| 22 | </RelativeLayout> |