diff options
Diffstat (limited to 'app/src/main/res/drawable')
-rw-r--r-- | app/src/main/res/drawable/grey_border.xml | 21 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_animate_pause_play.xml | 27 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_animate_play.xml | 14 | ||||
-rw-r--r-- | app/src/main/res/drawable/ic_animate_play_pause.xml | 27 |
4 files changed, 89 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/grey_border.xml b/app/src/main/res/drawable/grey_border.xml new file mode 100644 index 000000000..4362f05b6 --- /dev/null +++ b/app/src/main/res/drawable/grey_border.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector> + + <item> + + <shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners + android:radius="8dp" + android:topRightRadius="8dp" + android:bottomRightRadius="8dp" + android:bottomLeftRadius="8dp" /> + <stroke + android:width="1dp" + android:color="@android:color/darker_gray" /> + <solid android:color="@android:color/transparent"/> + </shape> + + </item> + +</selector>
\ No newline at end of file diff --git a/app/src/main/res/drawable/ic_animate_pause_play.xml b/app/src/main/res/drawable/ic_animate_pause_play.xml new file mode 100644 index 000000000..cc68279cd --- /dev/null +++ b/app/src/main/res/drawable/ic_animate_pause_play.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<animated-vector + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:aapt="http://schemas.android.com/aapt" + android:drawable="@drawable/ic_animate_play" + tools:ignore="NewApi"> + <target android:name="path"> + <aapt:attr name="android:animation"> + <objectAnimator + android:duration="@integer/fragment_transition_duration" + android:propertyName="pathData" + android:valueFrom="@string/svg_animatable_pause" + android:valueTo="@string/svg_animatable_play" + android:valueType="pathType"/> + </aapt:attr> + </target> + <target android:name="group"> + <aapt:attr name="android:animation"> + <objectAnimator + android:duration="@integer/fragment_transition_duration" + android:propertyName="rotation" + android:valueFrom="-90" + android:valueTo="0"/> + </aapt:attr> + </target> +</animated-vector> diff --git a/app/src/main/res/drawable/ic_animate_play.xml b/app/src/main/res/drawable/ic_animate_play.xml new file mode 100644 index 000000000..3c0a5ef1d --- /dev/null +++ b/app/src/main/res/drawable/ic_animate_play.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportHeight="24.0" + android:viewportWidth="24.0"> + <group android:name="group" + android:pivotX="12" + android:pivotY="12"> + <path android:name="path" + android:fillColor="?attr/action_icon_color" + android:pathData="@string/svg_animatable_play"/> + </group> +</vector> diff --git a/app/src/main/res/drawable/ic_animate_play_pause.xml b/app/src/main/res/drawable/ic_animate_play_pause.xml new file mode 100644 index 000000000..8e4f65b5e --- /dev/null +++ b/app/src/main/res/drawable/ic_animate_play_pause.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<animated-vector + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + xmlns:aapt="http://schemas.android.com/aapt" + android:drawable="@drawable/ic_animate_play" + tools:ignore="NewApi"> + <target android:name="path"> + <aapt:attr name="android:animation"> + <objectAnimator + android:duration="@integer/fragment_transition_duration" + android:propertyName="pathData" + android:valueFrom="@string/svg_animatable_play" + android:valueTo="@string/svg_animatable_pause" + android:valueType="pathType"/> + </aapt:attr> + </target> + <target android:name="group"> + <aapt:attr name="android:animation"> + <objectAnimator + android:duration="@integer/fragment_transition_duration" + android:propertyName="rotation" + android:valueFrom="0" + android:valueTo="90"/> + </aapt:attr> + </target> +</animated-vector> |