0

I'm trying to make outer grow in edit text view for better look for user experience. enter image description here I tried some of the method to get this result. On of the example is:

<EditText
        android:id="@+id/editText1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="20dip"
        android:ems="10"
        android:gravity="top"
        android:inputType="textMultiLine"
        android:shadowColor="#003399"
        android:shadowDx="0"
        android:shadowDy="0" 
        android:shadowRadius="3">

But it didn't give the result. Is their any other effective way or i just have to give up?

Suraj Neupane
  • 489
  • 3
  • 21

2 Answers2

0

try this

create a new xml file named borderr.xml in drawable folder and put this in it

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:padding="10dp"
    android:shape="rectangle" >

    <solid android:color="#1E90FF" />


    <stroke android:width="2dip" android:color="#1E90FF" />
</shape>

and on button set

 android:background="@drawable/borderr"
Jamil
  • 5,457
  • 4
  • 26
  • 29
0

I have done this with 9 path drawing tool. Link