Added dark theme

This commit is contained in:
59436419 2017-01-17 22:13:33 +05:30
parent 616a721bba
commit 081a45b70d
7 changed files with 6 additions and 1 deletions

View File

@ -73,7 +73,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin" android:layout_margin="@dimen/fab_margin"
android:src="@drawable/ic_rss_feed_white_24dp" android:src="?attr/rss"
app:layout_anchor="@id/channel_app_bar" app:layout_anchor="@id/channel_app_bar"
app:layout_anchorGravity="bottom|end" /> app:layout_anchorGravity="bottom|end" />

View File

@ -12,6 +12,7 @@
<item name="download">@drawable/ic_file_download_black_24dp</item> <item name="download">@drawable/ic_file_download_black_24dp</item>
<item name="share">@drawable/ic_share_black</item> <item name="share">@drawable/ic_share_black</item>
<item name="cast">@drawable/ic_cast_black_24dp</item> <item name="cast">@drawable/ic_cast_black_24dp</item>
<item name="rss">@drawable/ic_rss_feed_white_24dp</item>
</style> </style>
@ -29,6 +30,7 @@
<item name="download">@drawable/ic_file_download_white_24dp</item> <item name="download">@drawable/ic_file_download_white_24dp</item>
<item name="share">@drawable/ic_share_white_24dp</item> <item name="share">@drawable/ic_share_white_24dp</item>
<item name="cast">@drawable/ic_cast_white_24dp</item> <item name="cast">@drawable/ic_cast_white_24dp</item>
<item name="rss">@drawable/ic_rss_feed_black_24dp</item>
</style> </style>
<style name="NewPipeActionbarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid"> <style name="NewPipeActionbarTheme" parent="Widget.AppCompat.Light.ActionBar.Solid">

View File

@ -6,4 +6,5 @@
<attr name="download" format="reference"/> <attr name="download" format="reference"/>
<attr name="share" format="reference"/> <attr name="share" format="reference"/>
<attr name="cast" format="reference"/> <attr name="cast" format="reference"/>
<attr name="rss" format="reference"/>
</resources> </resources>

View File

@ -28,6 +28,7 @@
<item name="download">@drawable/ic_file_download_black_24dp</item> <item name="download">@drawable/ic_file_download_black_24dp</item>
<item name="share">@drawable/ic_share_black</item> <item name="share">@drawable/ic_share_black</item>
<item name="cast">@drawable/ic_cast_black_24dp</item> <item name="cast">@drawable/ic_cast_black_24dp</item>
<item name="rss">@drawable/ic_rss_feed_white_24dp</item>
</style> </style>
@ -45,6 +46,7 @@
<item name="download">@drawable/ic_file_download_white_24dp</item> <item name="download">@drawable/ic_file_download_white_24dp</item>
<item name="share">@drawable/ic_share_white_24dp</item> <item name="share">@drawable/ic_share_white_24dp</item>
<item name="cast">@drawable/ic_cast_white_24dp</item> <item name="cast">@drawable/ic_cast_white_24dp</item>
<item name="rss">@drawable/ic_rss_feed_black_24dp</item>
</style> </style>
<style name="BlackTheme" parent="DarkTheme"> <style name="BlackTheme" parent="DarkTheme">