安卓
small__tiger
这个作者很懒,什么都没留下…
展开
-
Android Studio Build窗口出现中文乱码问题
Android Studio Build窗口出现中文乱码问题snowzhao210 2020-08-26 22:58:09 15 收藏 分类专栏: android 文章标签: android studio android 版权问题:Android studio使用时,报错出现提示乱码问题,无法查看具体报错问题,如图解决方法:打开Android studio 全局搜索"双击shift"搜索Edit Custom VM Options结...转载 2020-08-28 10:51:20 · 9799 阅读 · 2 评论 -
getDimension
安卓中 TypedArray attributes;attributes.getDimension(R.styleable.style, height); 这个方法里面的height 是通过手机分辨率转化而来 是px值。如果在xml中传入的是dp值 系统会自动转化成对应的px值然后传入height。个人理解。原创 2017-07-06 11:23:24 · 576 阅读 · 5 评论 -
软键盘交互
在做搜索功能的时候,点击搜索框,搜索框获取焦点,键盘弹出;现在问题出来了,Android软键盘弹出的时候,android整个界面上移,布局被挤压,很难看;要解决这个问题,我们需要用到 windowSoftInputMode属性;参考:http://blog.csdn.NET/twoicewoo/article/details/7384398被压缩的界面:转载 2017-07-07 11:40:33 · 273 阅读 · 0 评论 -
导入不同开源库内部引用相同资源库冲突的情况
以下为举例解决方式 两个不同的JAR,里面引用了相同的其他jar,这样的问题最麻烦,没法删除,除非重新生成JAR;不过,可以在依赖里面排除相同的包,例如fresco的依赖:compile('com.facebook.fresco:fresco:0.14.1') {exclude module:'support-v4'exclude group:'com.android.support'}大括号里面...转载 2018-05-21 08:58:26 · 354 阅读 · 0 评论 -
Android Studio 启动 无缘故报 Error:Could not find common.jar
https://blog.csdn.net/chinaredking/article/details/80499456转载 2018-06-25 13:59:31 · 387 阅读 · 0 评论