我想问下在华为android 6.0的手机上修改EditText光标颜色不成功,但是小米6.0上却能成功,这该如何解决????
阿神
阿神 2017-04-17 17:38:43
0
1
435


我就是使用上面这种方法,在小米6.0系统上更改EditText光标颜色成功,但是华为的6.0系统上使用上面这个方法也没法成功,这该如何解决????????

阿神
阿神

闭关修行中......

reply all(1)
阿神

I also encountered this problem, just use reflection to modify the "mCursorDrawableRes" field in the edittext's parent class textview

For details, you can read what I wrote:
http://www.cnblogs.com/bellko...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template