MyAndroid
梦的羽翼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android 沉浸式状态栏实现,以及遇到的问题
基于SystemBarTint实现(SystemBarTint链接:https://github.com/jgilfelt/SystemBarTint)第一步首先将SystemBarTintManager类放入项目。下载链接:第二步在activity对应的布局文件中加入两行代码android:fitsSystemWindows=”true” android:clipToPadding=”true”转载 2015-12-09 11:42:38 · 659 阅读 · 0 评论 -
Dialog 焦点问题,ListView 与 CheckBox 的焦点问题
最近又遇到焦点问题,来总结一下。之前在做自定义Dialog 的时候,在 做编辑框的时候,就出现了 焦点冲突 的问题。粘出代码: final AlertDialog dlg = new AlertDialog.Builder(this).create(); dlg.show(); Window window = dlg.getWindow(); window.set原创 2014-12-13 17:34:30 · 937 阅读 · 0 评论 -
记录Android开发中遇到的一些问题
记录android中遇到的一些问题。原创 2015-11-26 16:13:19 · 907 阅读 · 0 评论 -
异常 EventBusException:its super classes have no public methods with the @Subscribe annotation
今天看了看 EventBus 的用法。 刚开始用的eclipse,复制了jar包之后,写了一些基本代码 运行,一切正常,也没有什么问题。然后把代码复制到Android Studio里面, EventBus.getDefault().register(this);报错了。 我也是奇了怪了,第一行就报错了,也就是标题的上面的那个异常。这里的解决办法是: 这里只要在 onEventMainThr原创 2016-02-23 02:36:26 · 12525 阅读 · 2 评论
分享