summaryrefslogtreecommitdiff
path: root/app/src/custom/res/animator
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-12-02 02:18:48 +0100
committercyberta <cyberta@riseup.net>2022-12-02 20:25:19 +0100
commit33bae6bada5aadc3ab3919fa04233d2d916e5721 (patch)
tree06e999d0b8be3286a10e8c4e920674972c4ab734 /app/src/custom/res/animator
parent5afe57ab868ee9e2e27f5b26b9b14de3519c0402 (diff)
implement connecting animation for riseup
Diffstat (limited to 'app/src/custom/res/animator')
-rw-r--r--app/src/custom/res/animator/alpha1.xml11
-rw-r--r--app/src/custom/res/animator/alpha2.xml16
-rw-r--r--app/src/custom/res/animator/alpha3.xml11
3 files changed, 29 insertions, 9 deletions
diff --git a/app/src/custom/res/animator/alpha1.xml b/app/src/custom/res/animator/alpha1.xml
new file mode 100644
index 00000000..94192a0b
--- /dev/null
+++ b/app/src/custom/res/animator/alpha1.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android">
+ <objectAnimator
+ android:duration="1000"
+ android:propertyName="fillColor"
+ android:valueFrom="#00000000"
+ android:valueTo="#000000"
+ android:valueType="colorType"
+ />
+</set>
+
diff --git a/app/src/custom/res/animator/alpha2.xml b/app/src/custom/res/animator/alpha2.xml
index bf997dea..b66ef59c 100644
--- a/app/src/custom/res/animator/alpha2.xml
+++ b/app/src/custom/res/animator/alpha2.xml
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator
- android:propertyName="fillAlpha"
- android:valueFrom="0"
- android:valueTo="1"
- android:startOffset="200"
- android:duration="250"
- android:interpolator="@android:interpolator/linear" />
-</set> \ No newline at end of file
+ android:duration="1000"
+ android:propertyName="fillColor"
+ android:valueFrom="#00000000"
+ android:valueTo="#000000"
+ android:startOffset="1000"
+ android:valueType="colorType"
+ />
+</set>
+
diff --git a/app/src/custom/res/animator/alpha3.xml b/app/src/custom/res/animator/alpha3.xml
index d05f36c2..2a1e0ba4 100644
--- a/app/src/custom/res/animator/alpha3.xml
+++ b/app/src/custom/res/animator/alpha3.xml
@@ -1,4 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
-
-</set> \ No newline at end of file
+ <objectAnimator
+ android:duration="1000"
+ android:propertyName="fillColor"
+ android:valueFrom="#00000000"
+ android:valueTo="#000000"
+ android:valueType="colorType"
+ android:startOffset="2000"
+ />
+</set>