Skip to content

Commit

Permalink
Style: Add light status bar for SDK 23+
Browse files Browse the repository at this point in the history
Signed-off-by: Fung Gwo <fython@163.com>
  • Loading branch information
fython committed Mar 31, 2019
1 parent c383751 commit d7b2f94
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app/src/main/res/values-v23/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<resources>

<style name="Base.Theme.App" parent="android:Theme.Material.Light">
<item name="android:colorPrimary">@color/material_grey_100</item>
<item name="android:colorPrimaryDark">@color/material_grey_300</item>
<item name="android:colorAccent">@color/colorAccent</item>
<item name="android:windowLightStatusBar">true</item>
</style>

<style name="Theme.App.NoActionBar" parent="Base.Theme.App">
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
</style>

<style name="Theme.Transparent" parent="android:Theme.Translucent.NoTitleBar">
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>

</resources>

0 comments on commit d7b2f94

Please sign in to comment.