Replaced the big pink heart with a vector drawable.

This commit is contained in:
Karim Abou Zeid 2016-02-28 23:25:34 +01:00
commit b8595ddaf5
6 changed files with 16 additions and 101 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -9,13 +10,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent" />
<ImageView
<android.support.v7.widget.AppCompatImageView
android:id="@+id/player_favorite_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:padding="72dp"
android:src="@drawable/ic_favorite_red_a400_96dp"
android:tint="@color/md_pink_A400"
android:tintMode="src_in"
android:visibility="invisible"
tools:ignore="ContentDescription" />
app:srcCompat="@drawable/ic_favorite_white_24dp"
tools:ignore="ContentDescription,UnusedAttribute" />
</FrameLayout>

View file

@ -1,15 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="pink_A400">#F50057</color>
<color name="indigo_500">#3F51B5</color>
<color name="grey_900">#212121</color>
<color name="grey_800">#424242</color>
<color name="grey_300">#E0E0E0</color>
<color name="blue_grey_700">#455A64</color>
<color name="white">#FFFFFF</color>
</resources>

View file

@ -12,9 +12,9 @@
<item name="rectSelector">@drawable/rect_selector_dark</item>
<item name="rectSelectorStrong">@drawable/rect_selector_strong_dark</item>
<item name="cardBackgroundColor">@color/grey_800</item>
<item name="cardBackgroundColor">@color/md_grey_800</item>
<item name="defaultFooterColor">@color/grey_900</item>
<item name="defaultFooterColor">@color/md_grey_900</item>
<item name="dividerColor">@color/md_divider_white</item>
<item name="iconColor">@color/ate_secondary_text_dark</item>
@ -41,9 +41,9 @@
<item name="rectSelector">@drawable/rect_selector</item>
<item name="rectSelectorStrong">@drawable/rect_selector_strong</item>
<item name="cardBackgroundColor">@color/white</item>
<item name="cardBackgroundColor">@color/md_white_1000</item>
<item name="defaultFooterColor">@color/grey_300</item>
<item name="defaultFooterColor">@color/md_grey_300</item>
<item name="dividerColor">@color/md_divider_black</item>
<item name="iconColor">@color/ate_secondary_text_light</item>
@ -62,9 +62,9 @@
<style name="Theme.Phonograph.Base.Black" parent="@style/Theme.Phonograph.Base">
<item name="android:windowBackground">@android:color/black</item>
<item name="dividerColor">#18FFFFFF</item>
<item name="defaultFooterColor">@color/grey_800</item>
<item name="cardBackgroundColor">@color/grey_900</item>
<item name="md_background_color">@color/grey_900</item>
<item name="defaultFooterColor">@color/md_grey_800</item>
<item name="cardBackgroundColor">@color/md_grey_900</item>
<item name="md_background_color">@color/md_grey_900</item>
</style>
<style name="FabParent">