如何改变EDITTEXT对4.0+下划线的颜色? [英] How change color of the underline of Edittext on 4.0+?

查看:149
本文介绍了如何改变EDITTEXT对4.0+下划线的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的应用程序,但Theme.Holo我想改变的EditText的下划线边框的颜色。

I have on my app Theme.Holo but I want to change the color of the underline border of edittext.

我不希望周围的EditText完整的边框。我只是想改变的EditText布局的色4.0+版本。

I don't want a full border around the edittext. I just want to change the color of the edittext layout on version 4.0+ .

我怎样才能做到这一点?

How can I do this?

推荐答案

我想你可以改变的android:背景到您想要的绘制,以取代编辑文本的默认背景。

I think you can change android:background to your desired drawable to replace your edit text's default background.

这篇关于如何改变EDITTEXT对4.0+下划线的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆