Skip to content

fix: fix android:tint bug #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion library/src/main/res/drawable/afs_md2_thumb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:shape="rectangle"
android:tint="?colorControlActivated">
app:tint="?colorControlActivated">

<corners android:radius="8dp" />

Expand Down
3 changes: 2 additions & 1 deletion library/src/main/res/drawable/afs_md2_track.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:shape="rectangle"
android:tint="?colorControlNormal">
app:tint="?colorControlNormal">

<corners android:radius="8dp" />

Expand Down
3 changes: 2 additions & 1 deletion library/src/main/res/drawable/afs_popup_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:shape="rectangle"
android:tint="?colorControlActivated">
app:tint="?colorControlActivated">

<corners
android:topLeftRadius="44dp"
Expand Down
3 changes: 2 additions & 1 deletion library/src/main/res/drawable/afs_thumb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:shape="rectangle"
android:tint="?colorControlActivated">
app:tint="?colorControlActivated">

<size android:width="8dp" android:height="48dp" />

Expand Down
5 changes: 3 additions & 2 deletions library/src/main/res/drawable/afs_thumb_stateful.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
-->
<selector
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"
tools:ignore="UnusedResources">

<item android:state_pressed="true">
<shape
android:shape="rectangle"
android:tint="?colorControlActivated">
app:tint="?colorControlActivated">
<size android:width="8dp" android:height="48dp" />
<solid android:color="@android:color/white" />
</shape>
Expand All @@ -38,7 +39,7 @@
<item>
<shape
android:shape="rectangle"
android:tint="?colorControlNormal">
app:tint="?colorControlNormal">
<size android:width="8dp" android:height="48dp" />
<solid android:color="@android:color/white" />
</shape>
Expand Down
3 changes: 2 additions & 1 deletion library/src/main/res/drawable/afs_track.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:shape="rectangle"
android:tint="?colorControlNormal">
app:tint="?colorControlNormal">

<size android:width="8dp" />

Expand Down