summaryrefslogtreecommitdiffstats
path: root/res/anim
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-09-13 16:35:26 +0800
committerChung-yih Wang <cywang@google.com>2011-09-15 10:17:53 +0800
commit507aaa672eb8ad5464159021f1b3596cafeede1d (patch)
treee17acec4bd5fa63647290f6436c4ca5fb158bef1 /res/anim
parent48ccad73c132753904a08651ce04cdb27377ef28 (diff)
downloadLegacyCamera-507aaa672eb8ad5464159021f1b3596cafeede1d.zip
LegacyCamera-507aaa672eb8ad5464159021f1b3596cafeede1d.tar.gz
LegacyCamera-507aaa672eb8ad5464159021f1b3596cafeede1d.tar.bz2
Fix animation for second-level indicator bar.
Change-Id: I8accf9eedf8df439ebed1453c332cb9f9e7b3567
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/grow_fade_in_from_top.xml18
-rw-r--r--res/anim/shrink_fade_out_from_bottom.xml18
2 files changed, 36 insertions, 0 deletions
diff --git a/res/anim/grow_fade_in_from_top.xml b/res/anim/grow_fade_in_from_top.xml
new file mode 100644
index 0000000..22c33f7
--- /dev/null
+++ b/res/anim/grow_fade_in_from_top.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
+ <translate android:fromYDelta="-100%p" android:toYDelta="0" android:duration="300" />
+</set>
diff --git a/res/anim/shrink_fade_out_from_bottom.xml b/res/anim/shrink_fade_out_from_bottom.xml
new file mode 100644
index 0000000..04bfd6e
--- /dev/null
+++ b/res/anim/shrink_fade_out_from_bottom.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
+ <translate android:fromYDelta="0" android:toYDelta="-100%p" android:duration="300" />
+</set>