开发者

Android change TextField outline/boarder color

I have a text field, and on Android 2.2, when it 开发者_如何学Cis in focus or being used, it highlights it and puts an orange boarder around it.

The orange really doesn't look good with the other colors in my app, so I am wondering if there is any way to change that to a different color...

Thanks in advance.


You can write selectors for your textview using which you can change the appearance of your textview when it is selected. You can refer to this: http://developer.android.com/reference/android/content/res/ColorStateList.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜