[android-beginners] Re: EditText appearance

2009-03-12 Thread Mr.No
Can i assigne a colorstate list to the background? And how do i change the bordercolor when the edittext gains the focus, without placing a backgroundimage? Tseng schrieb: > You could create a colorstate list (xml file in res/drawable), for > example > http://developer.android.com/reference/andro

[android-beginners] Re: EditText appearance

2009-03-12 Thread Mr.No
thx a lot :) On 10 Mrz., 11:30, "Mr.No" wrote: > Hello, > how do i change the size, style, typeface of a hint? > If the EditText gains the focus the border-color changes to orange, > how do i set a other color? > > rgds >        Mr.No --~--~-~--~~~---~--~~ You rec

[android-beginners] Re: EditText appearance

2009-03-11 Thread Tseng
You could create a colorstate list (xml file in res/drawable), for example http://developer.android.com/reference/android/content/res/ColorStateList.html Here is an example i used for textcolors. Should work for HintColors too! res/drawabale/myedittextcolors.xml: http://schemas.android.com/apk