Open ZhouBey opened 6 years ago
我用的是这个库https://github.com/niorgai/StatusBarCompat 来设置状态栏透明,调用@TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2) public static ViewTreeObserver.OnGlobalLayoutListener attach(final Activity activity, IPanelHeightTarget target, / Nullable /OnKeyboardShowingListener listener)这个方法,发现onKeyboardShowing和OnKeyboardShowingListener都不起作用了,是什么问题?
我用的是这个库https://github.com/niorgai/StatusBarCompat 来设置状态栏透明,调用@TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2) public static ViewTreeObserver.OnGlobalLayoutListener attach(final Activity activity, IPanelHeightTarget target, / Nullable /OnKeyboardShowingListener listener)这个方法,发现onKeyboardShowing和OnKeyboardShowingListener都不起作用了,是什么问题?