Kaynağa Gözat

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

* Match download button color to pin color

* Match manga header buttons color to pin color
Andreas 4 yıl önce
ebeveyn
işleme
441fc6e45b

+ 1 - 1
app/src/main/res/color/button_action_selector.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <selector xmlns:android="http://schemas.android.com/apk/res/android">
     <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>

+ 3 - 3
app/src/main/res/layout/chapter_download_view.xml

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