Added dark theme
This commit is contained in:
parent
081a45b70d
commit
dfeed3d0eb
|
@ -17,5 +17,6 @@ public class Themer extends AppCompatActivity {
|
|||
.getString("theme", getResources().getString(R.string.light_theme_title)), getResources().getString(R.string.dark_theme_title))) {
|
||||
setTheme(R.style.DarkTheme);
|
||||
}
|
||||
else setTheme(R.style.BlackTheme);
|
||||
}
|
||||
}
|
|
@ -33,6 +33,7 @@
|
|||
<item name="rss">@drawable/ic_rss_feed_black_24dp</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="NewPipeActionbarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid">
|
||||
<item name="android:displayOptions">showHome</item>
|
||||
<item name="displayOptions">showHome</item>
|
||||
|
|
|
@ -33,5 +33,6 @@
|
|||
<color name="middle_gray">#E0E0E0</color>
|
||||
<color name="gray">#616161</color>
|
||||
|
||||
<color name="black">#000</color>
|
||||
|
||||
</resources>
|
||||
|
|
|
@ -49,10 +49,6 @@
|
|||
<item name="rss">@drawable/ic_rss_feed_black_24dp</item>
|
||||
</style>
|
||||
|
||||
<style name="BlackTheme" parent="DarkTheme">
|
||||
<item name="android:windowBackground">@color/light_youtube_accent_color</item>
|
||||
</style>
|
||||
|
||||
<style name="NewPipeActionbarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid">
|
||||
<item name="android:displayOptions">showHome</item>
|
||||
<item name="displayOptions">showHome</item>
|
||||
|
|
Loading…
Reference in New Issue