summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-08-24 21:22:24 +0800
committerAngus Kong <shkong@google.com>2011-08-24 21:55:58 +0800
commitf26e1ab12cb3f359fe1d6efcbe65344a3a0bf276 (patch)
treee0dd060eda74d969e87cccfb4075f9482ea8eefe /res
parent2a0d096719984d75d5733a1dbac177a73e2e2452 (diff)
downloadLegacyCamera-f26e1ab12cb3f359fe1d6efcbe65344a3a0bf276.zip
LegacyCamera-f26e1ab12cb3f359fe1d6efcbe65344a3a0bf276.tar.gz
LegacyCamera-f26e1ab12cb3f359fe1d6efcbe65344a3a0bf276.tar.bz2
Controls animates in and out.
The controls on the right now slide out before capturing and slide in after review. bug: 5146822 Change-Id: Ie9d162b4231bb77bdd155589e0c0443115a4cc98
Diffstat (limited to 'res')
-rw-r--r--res/anim/slide_in_from_right.xml22
-rw-r--r--res/anim/slide_out_to_right.xml22
2 files changed, 44 insertions, 0 deletions
diff --git a/res/anim/slide_in_from_right.xml b/res/anim/slide_in_from_right.xml
new file mode 100644
index 0000000..567c2a1
--- /dev/null
+++ b/res/anim/slide_in_from_right.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<translate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+ android:fromXDelta="100%"
+ android:toXDelta="0%"
+ android:duration="300">
+</translate>
diff --git a/res/anim/slide_out_to_right.xml b/res/anim/slide_out_to_right.xml
new file mode 100644
index 0000000..01a321b
--- /dev/null
+++ b/res/anim/slide_out_to_right.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<translate xmlns:android="http://schemas.android.com/apk/res/android"
+ android:interpolator="@android:anim/decelerate_interpolator"
+ android:fromXDelta="0%"
+ android:toXDelta="100%"
+ android:duration="300">
+</translate>