【发布时间】:2016-01-25 15:27:03
【问题描述】:
我需要制作透明状态栏。我正在使用getWindow().addFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS),它是我想要的状态栏。但它也会影响导航栏:它变得透明,getWindow().setNavigationBarColor(Color.BLACK) 什么也不做。
有没有办法只做透明状态栏而不做导航栏?
【问题讨论】:
-
您找到解决方案了吗?
-
我也对解决方案感兴趣,到目前为止我什么也没找到......
-
您能否发布您当前和预期行为的图片?
标签: android android-5.0-lollipop android-statusbar