Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Fix notification button color on Q
Browse files Browse the repository at this point in the history
  • Loading branch information
afollestad committed May 18, 2019
1 parent ce338af commit d86673e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notifications/src/main/res/drawable/ic_record_32dp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
android:viewportWidth="24.0"
android:width="32dp">
<path
android:fillColor="#010101"
android:fillColor="#000000"
android:pathData="M12,12m-8,0a8,8 0,1 1,16 0a8,8 0,1 1,-16 0"/>
</vector>
2 changes: 1 addition & 1 deletion notifications/src/main/res/drawable/ic_stop_32dp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
android:viewportWidth="24.0"
android:width="32dp">
<path
android:fillColor="#000"
android:fillColor="#000000"
android:pathData="M6,6h12v12H6z"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
android:background="?android:selectableItemBackground"
android:contentDescription="@string/cd_start_recording"
android:src="@drawable/ic_record_32dp"
android:tint="@color/notification_icon_tint"
/>

<ImageButton
Expand All @@ -48,6 +49,7 @@
android:background="?android:selectableItemBackground"
android:contentDescription="@string/cd_stop_recording"
android:src="@drawable/ic_stop_32dp"
android:tint="@color/notification_icon_tint"
/>

<ImageButton
Expand All @@ -57,6 +59,7 @@
android:background="?android:selectableItemBackground"
android:contentDescription="@string/cd_stop_service"
android:src="@drawable/ic_close_32dp"
android:tint="@color/notification_icon_tint"
/>

</LinearLayout>
Expand Down
4 changes: 4 additions & 0 deletions notifications/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="notification_icon_tint">#FFF</color>
</resources>
4 changes: 4 additions & 0 deletions notifications/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="notification_icon_tint">#000</color>
</resources>

0 comments on commit d86673e

Please sign in to comment.