Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit bf31ce7

Browse files
committed
Implement a night theme XML
1 parent 965e4a9 commit bf31ce7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<!-- Base application theme. -->
5+
<style name="AppTheme.DayNight" parent="Theme.AppCompat.DayNight">
6+
<!-- Customize your theme here. -->
7+
<item name="colorPrimary">@color/colorPrimary</item>
8+
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
9+
<item name="colorAccent">@color/colorAccent</item>
10+
<item name="android:windowBackground">@color/windowBackground</item>
11+
12+
</style>
13+
14+
<style name="AppTheme.DayNight.NoActionBar">
15+
<item name="windowActionBar">false</item>
16+
<item name="windowNoTitle">true</item>
17+
</style>
18+
19+
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
20+
<item name="android:textColorPrimary">@color/colorTextPrimary</item>
21+
<item name="android:textColorSecondary">@color/colorTextSecondary</item>
22+
<item name="android:textColorTertiary">@color/colorTextTertiary</item>
23+
</style>
24+
</resources>

0 commit comments

Comments
 (0)