android 下划线颜色可以通过设置android:属性来改变,具体代码如下:// 设置下划线颜色
android edittext下划线颜色可以通过设置android:background属性来改变,具体代码如下:
// 设置edittext下划线颜色
EditText editText = findViewById(R.id.editText);
editText.setBackgroundResource(R.drawable.edit_text_underline_color);
// 在res/drawable文件夹下创建edit_text_underline_color.xml文件
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(80条)