mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Animate swapping of play/pause buttons.
This commit is contained in:
committed by
Greyson Parrelli
parent
dd3bad858d
commit
d471647e12
12
app/src/main/res/drawable/pause_solid_24.xml
Normal file
12
app/src/main/res/drawable/pause_solid_24.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M9.5,2H4.5C4.224,2 4,2.224 4,2.5V21.5C4,21.776 4.224,22 4.5,22H9.5C9.776,22 10,21.776 10,21.5V2.5C10,2.224 9.776,2 9.5,2Z"
|
||||
android:fillColor="@color/signal_light_colorOnPrimary"/>
|
||||
<path
|
||||
android:pathData="M19.5,2H14.5C14.224,2 14,2.224 14,2.5V21.5C14,21.776 14.224,22 14.5,22H19.5C19.776,22 20,21.776 20,21.5V2.5C20,2.224 19.776,2 19.5,2Z"
|
||||
android:fillColor="@color/signal_light_colorOnPrimary"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/play_button_solid_24.xml
Normal file
9
app/src/main/res/drawable/play_button_solid_24.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M21.7,11.248C21.853,11.305 21.985,11.407 22.078,11.541C22.172,11.675 22.222,11.835 22.222,11.998C22.222,12.161 22.172,12.321 22.078,12.455C21.985,12.589 21.853,12.691 21.7,12.748L5.3,22.248C4.586,22.662 4,22.325 4,21.5V2.5C4,1.675 4.584,1.338 5.3,1.752L21.7,11.248Z"
|
||||
android:fillColor="@color/signal_light_colorOnPrimary"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user