aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/anim
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2014-07-27 21:40:43 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2014-07-27 21:40:43 +0200
commit5974dccbeaf672db76cb3be7ee639f2bd6638a38 (patch)
tree46e1f3b6a89dc4af31714c6ad39f26c3082d4b28 /OpenKeychain/src/main/res/anim
parent0f87b81158d0de0bd4e1af54a0bbc2cd6c10527e (diff)
downloadopen-keychain-5974dccbeaf672db76cb3be7ee639f2bd6638a38.tar.gz
open-keychain-5974dccbeaf672db76cb3be7ee639f2bd6638a38.tar.bz2
open-keychain-5974dccbeaf672db76cb3be7ee639f2bd6638a38.zip
Redesigned QR Code view
Diffstat (limited to 'OpenKeychain/src/main/res/anim')
-rw-r--r--OpenKeychain/src/main/res/anim/zoom_enter.xml16
-rw-r--r--OpenKeychain/src/main/res/anim/zoom_exit.xml17
2 files changed, 33 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/anim/zoom_enter.xml b/OpenKeychain/src/main/res/anim/zoom_enter.xml
new file mode 100644
index 000000000..2b95cfba6
--- /dev/null
+++ b/OpenKeychain/src/main/res/anim/zoom_enter.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator">
+ <scale
+ android:fromXScale="0.5"
+ android:toXScale="1.0"
+ android:fromYScale="0.5"
+ android:toYScale="1.0"
+ android:pivotX="50%p"
+ android:pivotY="50%p"
+ android:duration="@android:integer/config_mediumAnimTime" />
+ <alpha
+ android:fromAlpha="0"
+ android:toAlpha="1.0"
+ android:duration="@android:integer/config_mediumAnimTime" />
+</set> \ No newline at end of file
diff --git a/OpenKeychain/src/main/res/anim/zoom_exit.xml b/OpenKeychain/src/main/res/anim/zoom_exit.xml
new file mode 100644
index 000000000..772375739
--- /dev/null
+++ b/OpenKeychain/src/main/res/anim/zoom_exit.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+ android:zAdjustment="top">
+ <scale
+ android:fromXScale="1.0"
+ android:toXScale="0.5"
+ android:fromYScale="1.0"
+ android:toYScale="0.5"
+ android:pivotX="50%p"
+ android:pivotY="50%p"
+ android:duration="@android:integer/config_mediumAnimTime" />
+ <alpha
+ android:fromAlpha="1.0"
+ android:toAlpha="0"
+ android:duration="@android:integer/config_mediumAnimTime" />
+</set> \ No newline at end of file