summaryrefslogtreecommitdiffstats
path: root/res/anim
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-09-08 10:35:03 +0800
committerChung-yih Wang <cywang@google.com>2011-09-13 13:52:00 +0800
commit20ff6a12d36dd928e6ccfb96aebf9f6481d15697 (patch)
treeabe139af86ccb0c692c28db0a5a5350394a325e5 /res/anim
parent667870ba798e39407db2dab5fd89d7b560c56ba2 (diff)
downloadLegacyCamera-20ff6a12d36dd928e6ccfb96aebf9f6481d15697.zip
LegacyCamera-20ff6a12d36dd928e6ccfb96aebf9f6481d15697.tar.gz
LegacyCamera-20ff6a12d36dd928e6ccfb96aebf9f6481d15697.tar.bz2
Modify the Mode Picker to follow UI spec.
bug:5141384 bug:5141387 bug:5287560 +Follow the 'redlines' UI guidelines. Change-Id: Ib46f4d45beb0e390933957727902d2d1f9e81211
Diffstat (limited to 'res/anim')
-rw-r--r--res/anim/mode_selection_fade_in.xml18
-rw-r--r--res/anim/mode_selection_fade_out.xml18
2 files changed, 36 insertions, 0 deletions
diff --git a/res/anim/mode_selection_fade_in.xml b/res/anim/mode_selection_fade_in.xml
new file mode 100644
index 0000000..bb710bb
--- /dev/null
+++ b/res/anim/mode_selection_fade_in.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="66%p" android:toYDelta="0" android:duration="200" />
+</set>
diff --git a/res/anim/mode_selection_fade_out.xml b/res/anim/mode_selection_fade_out.xml
new file mode 100644
index 0000000..c770420
--- /dev/null
+++ b/res/anim/mode_selection_fade_out.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="66%p" android:duration="200" />
+</set>