Match color for download, header, and pin buttons (#4331)

* Match download button color to pin color

* Match manga header buttons color to pin color
This commit is contained in:
Andreas 2021-01-22 15:10:58 +01:00 committed by GitHub
parent cf7ec6aa76
commit 441fc6e45b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorAccent" android:state_activated="true" /> <item android:color="?attr/colorAccent" android:state_activated="true" />
<item android:color="?android:attr/textColorSecondary" android:state_activated="false" /> <item android:color="?android:attr/textColorHint" android:state_activated="false" />
</selector> </selector>

View file

@ -14,7 +14,7 @@
android:padding="2dp" android:padding="2dp"
android:scaleType="fitXY" android:scaleType="fitXY"
app:srcCompat="@drawable/border_circle" app:srcCompat="@drawable/border_circle"
app:tint="@color/material_on_surface_emphasis_medium" app:tint="?android:attr/textColorHint"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
<ImageView <ImageView
@ -24,7 +24,7 @@
android:padding="4dp" android:padding="4dp"
android:scaleType="fitXY" android:scaleType="fitXY"
app:srcCompat="@drawable/ic_arrow_downward_24dp" app:srcCompat="@drawable/ic_arrow_downward_24dp"
app:tint="@color/material_on_surface_emphasis_medium" app:tint="?android:attr/textColorHint"
tools:ignore="ContentDescription" /> tools:ignore="ContentDescription" />
<com.google.android.material.progressindicator.CircularProgressIndicator <com.google.android.material.progressindicator.CircularProgressIndicator
@ -34,7 +34,7 @@
android:indeterminate="true" android:indeterminate="true"
android:padding="1dp" android:padding="1dp"
android:visibility="gone" android:visibility="gone"
app:indicatorColor="@color/material_on_surface_emphasis_medium" app:indicatorColor="?android:attr/textColorHint"
app:indicatorInset="0dp" app:indicatorInset="0dp"
app:indicatorSize="24dp" app:indicatorSize="24dp"
app:trackThickness="2dp" /> app:trackThickness="2dp" />