我怎么增加的themes.xml改变导航栏更加透明?我找不到文档的任何地方。谢谢!
What do I add to themes.xml to change the navigation bar to be more transparent? I can't find documentation for it anywhere. Thanks!
在你的主题添加以下行:
In your theme add the following line:
<item name="android:windowTranslucentNavigation">true</item>
罗曼盖伊出版了一本很好的 示例应用程序 使用此API。也许这将有所帮助。 (您可能需要重构一些code,因为该项目采用的是Android大号开发preVIEW原文)。
Romain Guy has published a nice sample app that uses this API. Maybe it will help. (You might need to refactor some code since the project was originally written using the Android L developer preview).