关于Android中EditText光标在4.0中的bug及解决方法
来源:才华咖 本文已影响1.78W人
来源:才华咖 本文已影响1.78W人
本文分析了Android中EditText光标在4.0中的bug及解决方法。分享给大家供大家参考,具体如下:
一、问题:
不知道为什么,我的EditText的在我自己的手机中出现的时候,他的`光标就变得没有了,我开始还以为是光标不见了,后面我修改了一下EditText的背景颜色,才发现是因为光标的颜色变成了白色,所以没有看见。
二、解决办法 :
复制代码 代码如下:android:textCursorDrawable
设置值为“@null”,但是我觉得那个不怎么好看,那个地方也可以替换成你们自己的图标。
还有一个要注意的地方,你必须将你的Android project build target改为一个4.0.3以上的版本。在次运行,你会发现你的光标出现在你的眼前。
希望本文所述对大家Android程序设计有所帮助。
牛津深圳版英语九下Unit1《Greatexplorations》Reading说课稿
Thinkpad笔记本开机显示Tointerrruptnormalstartup解决方法
中考英语阅读理解答案A report from the United Nations
Is It Good to Being A Postgraduate大学英语作文
第一册 Unit42::Two Goats on the Bridge
About Respecting the Old高中英语作文
九年级《unit 6 I like music that I can dance to. Period2》评课稿
八年级英语下册Unit 6 An old man tried to move a Mountain period one说课稿
奥运英语作文:中国跳水队(Diving into Gold: Chinas Dream Team
Food and place of interest in Beijing初中英语作文
关于Unit 1 The Dragon Boat Festival教学案
A Bitter Experience in My Childhood初中英语作文
提示operating system not found的解决方法
Different ideas about time的英语阅读
关于javascript中encodeURI和decodeURI的使用方法
EDA软件:Altium Designer2015安装破解汉化方法
Should Private Cars Be Encouraged in China高中英语作文
关于Applying For A Student Discount Card的留学英语口语
What Do Students Need English For大学英语作文
关于小升初的英语学习:Moving to the United States
英语作文: The Uncivilized Internet Words
新目标七年级StarterUnit1Goodmorning的教案
《Module 8 Unit 1Is it a dragon ?》的优秀教案
小学生在写作中存在哪些问题及解决方法
英语作文:Reading Outside The College
高中美术中存在的问题及解决方法论文
Building Bridges for the Future英语作文
八年级《unit8 Why don’t you get her a scarf? Period1》评课稿
解决在Word中为汉子插入拼音及音标的问题的方法
牛津译林版九年级上册英语 Unit 3 Teenage problems-Reading 同步练习
should women work after getting married英语作文
初中英语作文To Bea Computer Expert Is My Ideal
How Do My Parents Feel About My Education英语作文
应届生面试中可能出现的问题及解决方法
中考英语的满分作文:Going abroad for studies
Unix更新freeBSDportTree的几种方法
A Letter to the University President为题目的作文
英语阅读:Covergirl unveils empowering brand update
Module 7 Travel Unit 2 We are going to visit the Ming Tombs
英语美文阅读:Kerry: Anti-IS Coalition Could Contribute to B