Wednesday, 15 February 2012

android - How can i make a custom Holo EditText that looks like this one -



android - How can i make a custom Holo EditText that looks like this one -

i want alter background of holo edittext green.

something this: http://tinypic.com/view.php?pic=2n20k8l&s=8#.u6hmq_ldwso

it may stupid question searched , no results! thanks!

below code accomplish want.

<relativelayout android:id="@+id/one" android:layout_width="250dp" android:layout_height="55dp" android:background="#006400" > <edittext android:id="@+id/edittext1" android:layout_width="220dp" android:layout_height="45dp" android:layout_centerinparent="true" android:ems="10" > <requestfocus /> </edittext> </relativelayout>

android android-edittext android-xml

No comments:

Post a Comment