diff options
Diffstat (limited to 'app/src/custom/res/animator')
-rw-r--r-- | app/src/custom/res/animator/alpha1.xml | 11 | ||||
-rw-r--r-- | app/src/custom/res/animator/alpha2.xml | 16 | ||||
-rw-r--r-- | app/src/custom/res/animator/alpha3.xml | 11 |
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> |