Fixes icons on statuses and notifications not being the right colour on the light theme.

Maybe could be a more elegant solution than drawable duplication but for now fine.
This commit is contained in:
Vavassor 2017-03-07 23:52:17 -05:00
commit e46731454d
15 changed files with 55 additions and 31 deletions

View file

@ -251,7 +251,7 @@
<com.varunest.sparkbutton.SparkButton
android:id="@+id/status_reblog"
app:sparkbutton_activeImage="@drawable/reblog_active"
app:sparkbutton_inActiveImage="@drawable/reblog_inactive"
app:sparkbutton_inActiveImage="?attr/status_reblog_inactive_drawable"
app:sparkbutton_iconSize="28dp"
android:layout_gravity="center"
app:sparkbutton_primaryColor="@color/status_reblog_button_marked_dark"
@ -268,7 +268,7 @@
android:layout_width="32dp"
android:layout_height="32dp"
app:sparkbutton_activeImage="@drawable/favourite_active"
app:sparkbutton_inActiveImage="@drawable/favourite_inactive"
app:sparkbutton_inActiveImage="?attr/status_favourite_inactive_drawable"
app:sparkbutton_iconSize="28dp"
android:layout_gravity="center"
app:sparkbutton_primaryColor="@color/status_favourite_button_marked_light"
@ -283,9 +283,9 @@
<ImageButton
app:srcCompat="@drawable/ic_more_horiz_24dp"
android:id="@+id/status_more"
style="?attr/image_button_style"
android:layout_width="32dp"
android:layout_height="32dp" />
android:layout_height="32dp"
style="?attr/image_button_style" />
<Space
android:layout_width="0dp"

View file

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!--This applies only to favourite and reblog notifications.-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
@ -19,8 +20,7 @@
android:id="@+id/notification_icon"
android:paddingRight="10dp"
android:paddingLeft="24dp"
app:srcCompat="@drawable/ic_repeat_24dp"
android:tint="?attr/colorAccent" />
app:srcCompat="@drawable/ic_repeat_24dp" />
<TextView
android:layout_width="wrap_content"