Transparent Navigation Bar for Lollipop app?

sanic picture sanic · Nov 9, 2014 · Viewed 7.8k times · Source

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!

Answer

Alex Lockwood picture Alex Lockwood · Nov 9, 2014

In your theme add the following line:

<item name="android:windowTranslucentNavigation">true</item>

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).