android 问题解决
文章平均质量分 53
带翅膀的风筝
这个作者很懒,什么都没留下…
展开
-
android 个人学习问题集
The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5 \platform-tools\adb.exe' and can原创 2014-12-02 22:13:31 · 230 阅读 · 0 评论 -
R文件中没有找到id,R文件有id确没有找到
如果R文件中有ID,确在activity中不能找到这个id,这个很有可能就是在你的头文件中引用了android.R的原因,这个时候应该把这个去掉! 如果是外部导入的文件,应该注意不要重复导入R文件原创 2014-12-03 09:51:46 · 1359 阅读 · 0 评论 -
总结一下android的selector的用法
关于listview和button都要改变android原来控件的背景,在网上查找了一些资料不是很全,所以现在总结一下android的selector的用法。 首先android的selector是在drawable/xxx.xml中配置的。 先看一下listview中的状态: 把下面的XML文件保存成你自己命名的.xml文件(比如list_item_bg.xml),在系统使用时转载 2014-12-05 19:44:20 · 294 阅读 · 0 评论 -
关于editText隐藏输入键盘的方法
方法一: 在 AndroidMainfest.xml中选择哪个activity,设置windowSoftInputMode属性为 adjustUnspecified|stateHidden android:label="@string/app_name" android:windowSoftInputMode="adjustUns转载 2015-07-06 15:17:04 · 332 阅读 · 0 评论