我试图找到 xml 主题参数来制作软导航按钮,例如在给定颜色/透明的 Nexus 5 中接受覆盖。到目前为止我找不到任何东西。
例子:
最佳答案
为了在应用程序内部执行此操作,我将其用于 styles.xml
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:fitsSystemWindows">true</item>
但是,您必须管理导航栏下的布局对象(如 FAB 按钮)。
不确定这是否是您想要的,请尝试一下。
干杯
关于android - 透明导航软按键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27290423/