Created
November 22, 2018 07:28
-
-
Save AB1209/2e7e3ce170c3040fcc58b37fe25fe440 to your computer and use it in GitHub Desktop.
Layout clearable_edit_text.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content"> | |
<EditText | |
android:id="@+id/clearable_edit" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
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/image_clear" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment