1

how can i make this custom edittext using shape please ?

http://www.noelshack.com/2015-15-1428418773-form3.png

I've tried android:drawableLeft but the result's not matching

rectangle_shape.xml

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <solid android:color="#3498db" />
</shape>

shape.xml

<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/rectangle_shape"/>
<item android:drawable="@drawable/user"/>
</layer-list>
Vladislav Rastrusny
  • 29,378
  • 23
  • 95
  • 156
JossVamos
  • 11
  • 2

0 Answers0