summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-11-29 23:48:37 +0100
committercyberta <cyberta@riseup.net>2022-11-30 14:24:46 +0100
commit86ec8d8700a4bb9e0cec123e49ce408c46869f0e (patch)
tree30578d4cf7d871a67054cfe1aa2ee677266b8604 /app/src/main/res
parentbac19fcc3c430405440527d36400ecb8726f9e5c (diff)
rename progress animation image, fix missing resource in custom branded builds
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/drawable/button_circle_cancel_pressed.xml2
-rw-r--r--app/src/main/res/drawable/button_circle_cancel_released.xml2
-rw-r--r--app/src/main/res/drawable/rotate_progress_image.xml12
3 files changed, 14 insertions, 2 deletions
diff --git a/app/src/main/res/drawable/button_circle_cancel_pressed.xml b/app/src/main/res/drawable/button_circle_cancel_pressed.xml
index 13970e9f..8d349770 100644
--- a/app/src/main/res/drawable/button_circle_cancel_pressed.xml
+++ b/app/src/main/res/drawable/button_circle_cancel_pressed.xml
@@ -13,7 +13,7 @@
android:bottom="-8dp"
>
<animated-rotate
- android:drawable="@drawable/rainbow_circle"
+ android:drawable="@drawable/rotate_progress_image"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fromDegrees="0.0"
diff --git a/app/src/main/res/drawable/button_circle_cancel_released.xml b/app/src/main/res/drawable/button_circle_cancel_released.xml
index 2e7bc4b7..e6d5948d 100644
--- a/app/src/main/res/drawable/button_circle_cancel_released.xml
+++ b/app/src/main/res/drawable/button_circle_cancel_released.xml
@@ -14,7 +14,7 @@
android:bottom="-8dp"
>
<animated-rotate
- android:drawable="@drawable/rainbow_circle"
+ android:drawable="@drawable/rotate_progress_image"
android:pivotX="50.0%"
android:pivotY="50.0%"
android:fromDegrees="0.0"
diff --git a/app/src/main/res/drawable/rotate_progress_image.xml b/app/src/main/res/drawable/rotate_progress_image.xml
new file mode 100644
index 00000000..7b539720
--- /dev/null
+++ b/app/src/main/res/drawable/rotate_progress_image.xml
@@ -0,0 +1,12 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
+ android:name="circle"
+ android:viewportWidth="91"
+ android:viewportHeight="91"
+ android:width="91dp"
+ android:height="91dp">
+
+<!--
+ // implement your rotation animation vector image here
+-->
+
+</vector> \ No newline at end of file