From 33bae6bada5aadc3ab3919fa04233d2d916e5721 Mon Sep 17 00:00:00 2001 From: cyberta Date: Fri, 2 Dec 2022 02:18:48 +0100 Subject: implement connecting animation for riseup --- app/src/custom/res/animator/alpha1.xml | 11 +++++++++++ app/src/custom/res/animator/alpha2.xml | 16 +++++++++------- app/src/custom/res/animator/alpha3.xml | 11 +++++++++-- app/src/custom/res/drawable/ravens.xml | 6 ++++++ app/src/custom/res/drawable/state_connecting.xml | 17 ++++++++++++++--- 5 files changed, 49 insertions(+), 12 deletions(-) create mode 100644 app/src/custom/res/animator/alpha1.xml (limited to 'app/src/custom/res') 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 @@ + + + + + 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 @@ - \ No newline at end of file + android:duration="1000" + android:propertyName="fillColor" + android:valueFrom="#00000000" + android:valueTo="#000000" + android:startOffset="1000" + android:valueType="colorType" + /> + + 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 @@ - - \ No newline at end of file + + diff --git a/app/src/custom/res/drawable/ravens.xml b/app/src/custom/res/drawable/ravens.xml index f97a3532..788aef84 100644 --- a/app/src/custom/res/drawable/ravens.xml +++ b/app/src/custom/res/drawable/ravens.xml @@ -4,29 +4,35 @@ android:width="342dp" android:height="206dp"> diff --git a/app/src/custom/res/drawable/state_connecting.xml b/app/src/custom/res/drawable/state_connecting.xml index 3ef89983..267ba791 100644 --- a/app/src/custom/res/drawable/state_connecting.xml +++ b/app/src/custom/res/drawable/state_connecting.xml @@ -1,4 +1,15 @@ - - - \ No newline at end of file + + + + + + \ No newline at end of file -- cgit v1.2.3