-
现在是在此两个版本上的处理是有一个层灰色的遮罩。可是在这两个版本,是可以通过`getWindow().setStatusBarColor(statusBarColor);`设置一下状态栏的背景颜色的。就目前来说,最低的也基本上也就是5.0了吧,以下的机型几乎已经没有了。如果在这个两个版本也加入遮罩是不是有点浪费这个功能了,让显示不那么舒服。当然,这是建立在TopBar背景是非白色情况下时,这里可以…
-
在红米Redmi Note 4X(android7.0)的手机上,通过StatusBarUtil工具类修改的状态字体颜色没有效果。
-
你好,请问在Activity中调用如下方法遇到异常:no super method get lifecycle android/life cycle/life cycle; in class android/core/apps/componentactivity; or its super classes 是什么情况啊?
`void observe(@NonNull LifecycleOwn…
-
如果设置状态栏的背景颜色为白色,如果文字和图标不变成黑色的会导致区分不出来,所以需要这个功能
-
-
@Jacksgong Hi,我的项目用了你最早的键盘冲突解决代码。KeyboardRootLayout
现在这个版本 能适配到https://github.com/laobie/StatusBarUtil 和这个工具类并用吗,StatusBarUtil.setTransparent(Activity activity) 设置背景沉浸模式后,键盘监听不到了~
-
-
华为android8.0启动闪退,提示fragment使用要现在activity里初始化,
红米手机启动miui优化(默认就是启动的)也闪退,同样的问题,
360手机在dialogfragment的类里闪退,同样的问题,
锤子和小米note pro运行正常,
-
```
StatusBarUtil.setColorForDrawerLayout(activity, drawerLayout, ContextCompat.getColor(activity, R.color.colorAccent), 0);
```
```
#FF4081
```
这段代码在我 setContentView() 之后且 android:fitsSystemWin…
-
@niorgai
关于transparent模式键盘不弹,作者有好的实践方案没有