我正在制作一个显示popupWindow语言的键盘。在所有设备上,我都可以popupWindow在键盘外完美显示,但在仅Android Pie中,不能popupWindow在键盘外显示。
candidateView连接蓝牙键盘时,我想在键盘之外显示弹出窗口。
我正在使用此代码
setClippingEnabled(false);
showAtLocation(anchor, Gravity.NO_GRAVITY, x, y);
Run Code Online (Sandbox Code Playgroud)
有人有什么想法吗,这是什么问题?
这是演示应用程序-https: //github.com/priyankagb/andoidpiepopupwindowdemo
看截图
在Android Pie中,您可以在底部看到一小行popupWindow用于语言
左边是馅饼下方,右边是馅饼

I am using firebase crashlytics beta version for ndk crashes. I am following all the steps given here. But I am facing an issue and can not upload symbol file. Whenever I am going to run the task ./gradlew uploadCrashlyticsSymbolFileDebug --stacktrace it says java.lang.NullPointerException. But why and where it is null?
here is the full stacktrace of this task
> Task :app:generateCrashlyticsSymbolFileDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:generateCrashlyticsSymbolFileDebug'. …Run Code Online (Sandbox Code Playgroud) 对于新的 android 4.1 或更新版本,我们可以直接运行模拟器到 android studio 工具窗口。很好。所以我在那里添加了一个模拟器,但是如果我打开 logcat,我在看到这个模拟器的全屏时会遇到一些问题。所以,现在我想从那里删除模拟器。(我无法找到此设置,我们删除此连接表单的位置直接显示在 android studio 中)。
看到这张图片,(它可以帮助你正确地回答我的问题)
再次,简而言之,我想从我的 android studio 中删除模拟器工具窗口。(我想用默认方式直接打开这个)
最近我用 Android Studio 4.1 更新了 android studio,但是更新后,Studio 在 IDE 中没有显示错误,带有红色下划线或右侧红色条。每次我运行该应用程序时,它都会在编译后抛出一个错误。所以很难说错误在哪里
有没有人知道该怎么做?
注意:使缓存无效并重新启动、同步项目、清理、重建不起作用