码迷,mamicode.com
首页 > 移动开发 > 详细

Android输入时EditText光标不显示的解决方法

时间:2019-04-18 17:23:54      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:oid   默认   方法   解决方法   style   drawable   color   null   class   

<EditText
        android:cursorVisible="true"
        android:textCursorDrawable="@null"/>
即设置textCursorDrawable为@null,这样光标就默认显示字体的颜色,也可以设置一个自定义的drawable。

 

Android输入时EditText光标不显示的解决方法

标签:oid   默认   方法   解决方法   style   drawable   color   null   class   

原文地址:https://www.cnblogs.com/yongfengnice/p/10730291.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!