Skip to content

Commit

Permalink
Make auto-play button style more explanatory (#3952)
Browse files Browse the repository at this point in the history
Co-authored-by: Bnyro <bnyro@tutanota.com>
  • Loading branch information
ARBoyGo and Bnyro authored Jun 8, 2023
1 parent edd9cb4 commit 93be20b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/src/main/res/drawable/ic_pause_circle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="m8.4,16.8h2.4L10.8,7.2L8.4,7.2ZM12,0C5.376,0 0,5.376 0,12 0,18.624 5.376,24 12,24 18.624,24 24,18.624 24,12 24,5.376 18.624,0 12,0ZM12,21.6c-5.292,0 -9.6,-4.308 -9.6,-9.6 0,-5.292 4.308,-9.6 9.6,-9.6 5.292,0 9.6,4.308 9.6,9.6 0,5.292 -4.308,9.6 -9.6,9.6zM13.2,16.8h2.4L15.6,7.2h-2.4z"
android:strokeWidth="1.2"
android:fillColor="@android:color/white"/>
</vector>
5 changes: 4 additions & 1 deletion app/src/main/res/drawable/player_switch_thumb.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false"
android:drawable="@drawable/ic_pause_circle"/>

<item android:drawable="@drawable/ic_play_circle"/>
<item android:state_checked="true"
android:drawable="@drawable/ic_play_circle"/>

</selector>

0 comments on commit 93be20b

Please sign in to comment.