Dominque Conroy

Results 26 comments of Dominque Conroy

基于这个库,很容易改。加个属性的问题。

@laobie 纠结了两天了,有没有好的解决办法

@laobie 谢谢,我暂时再看看。

@TZ-TimZhang 这个不适合我的场景。我是结合了lib.kpswitch.widget.KeyboardRootLayout

@HmLifengfeng 已经解决了此bug,参考qmui的 QMUIWindowInsetLayout

@laobie 这个问题最佳兼容实践有人实验过没有

@tanweijiu thanks~ 有解决方案分享一下,一起看一下。

@tanweijiu 这里面两个方法试过了,没起作用。还有我是配合https://blog.dreamtobe.cn/2015/09/01/keyboard-panel-switch/ 这个使用StatusBarUtil的

@laobie setColor不会出现问题。是FLAG_TRANSLUCENT_STATUS这个影响的,我也是昨天晚上发现的。

@Override public final WindowInsets onApplyWindowInsets(WindowInsets insets) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT_WATCH) { return super.onApplyWindowInsets(insets.replaceSystemWindowInsets(0, 0, 0, insets.getSystemWindowInsetBottom())); } else { return insets; } } 重写这个adJustResize 虽然有变化了,但是键盘的显示事件监听不到了。很纠结。@tanweiju