summaryrefslogtreecommitdiff
path: root/navit/android/res/values-v21/styles.xml
blob: 85cf81d9be42045248c1f8e841dcb0a439562a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<resources>
    <style name="NavitTheme" parent="android:Theme.DeviceDefault.NoActionBar">

        <!-- API 21 theme customizations can go here. -->
        <!--
            Don't use translucent system bars on API 21 as they are drawn with a semitransparent
            black background which can't be changed.
        -->
        <item name="android:windowTranslucentNavigation">false</item>
        <item name="android:windowTranslucentStatus">false</item>

        <!--
            We could set any semi-transparent color here (or change it in code), but this would not
            be available on API 19/20. Simply specifying full transparency allows us to implement a
            separate mechanism that will work on all versions.
        -->
        <item name="android:navigationBarColor">@android:color/transparent</item>
        <item name="android:statusBarColor">@android:color/transparent</item>
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
    </style>
</resources>