Added dark theme

This commit is contained in:
59436419 2017-01-17 22:31:00 +05:30
parent 081a45b70d
commit dfeed3d0eb
4 changed files with 3 additions and 4 deletions

View File

@ -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);
}
}

View File

@ -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>

View File

@ -33,5 +33,6 @@
<color name="middle_gray">#E0E0E0</color>
<color name="gray">#616161</color>
<color name="black">#000</color>
</resources>

View File

@ -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>