Skip to content

Commit d7b2f94

Browse files
committed
Style: Add light status bar for SDK 23+
Signed-off-by: Fung Gwo <[email protected]>
1 parent c383751 commit d7b2f94

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: app/src/main/res/values-v23/styles.xml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<resources>
2+
3+
<style name="Base.Theme.App" parent="android:Theme.Material.Light">
4+
<item name="android:colorPrimary">@color/material_grey_100</item>
5+
<item name="android:colorPrimaryDark">@color/material_grey_300</item>
6+
<item name="android:colorAccent">@color/colorAccent</item>
7+
<item name="android:windowLightStatusBar">true</item>
8+
</style>
9+
10+
<style name="Theme.App.NoActionBar" parent="Base.Theme.App">
11+
<item name="android:windowActionBar">false</item>
12+
<item name="android:windowNoTitle">true</item>
13+
</style>
14+
15+
<style name="Theme.Transparent" parent="android:Theme.Translucent.NoTitleBar">
16+
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
17+
<item name="android:statusBarColor">@android:color/transparent</item>
18+
</style>
19+
20+
</resources>

0 commit comments

Comments
 (0)