xml - How to create custom edittext with button in android? -


how can create kind of edittext button on android. enter image description here

i've done relative layout won't presentable.

thanks ahead.

use android:drawableright property of edittext.code as

<edittext         android:id="@+id/edit_text"         android:layout_width="wrap_content"         android:layout_height="wrap_content"         android:hint="@string/enter_the_value"         android:drawableright="@drawable/ic_launcher" /> 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -