summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-31 01:53:04 +0400
committerAndrew Dolgov <[email protected]>2012-12-31 01:53:04 +0400
commit6e407cb5b1a882aafa4b8d62eeeb644513abcc4a (patch)
tree4fd82920a41639701d9c166c1fefbdd9c4795f1d /res
parent7357c546b28a07e5bcdaf7e1370e12af3137b218 (diff)
improve transitions
Diffstat (limited to 'res')
-rw-r--r--res/anim/right_slide_in.xml9
-rw-r--r--res/anim/right_slide_out.xml9
-rw-r--r--res/anim/slide_left.xml20
-rw-r--r--res/anim/slide_right.xml20
4 files changed, 18 insertions, 40 deletions
diff --git a/res/anim/right_slide_in.xml b/res/anim/right_slide_in.xml
new file mode 100644
index 00000000..2bb5acc1
--- /dev/null
+++ b/res/anim/right_slide_in.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator">
+ <translate
+ android:fromXDelta="100%p"
+ android:toXDelta="0"
+ android:duration="200"
+ />
+</set>
+
diff --git a/res/anim/right_slide_out.xml b/res/anim/right_slide_out.xml
new file mode 100644
index 00000000..134467f5
--- /dev/null
+++ b/res/anim/right_slide_out.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator">
+ <translate
+ android:fromXDelta="0"
+ android:toXDelta="100%p"
+ android:duration="200"
+ />
+</set>
+
diff --git a/res/anim/slide_left.xml b/res/anim/slide_left.xml
deleted file mode 100644
index 80caa7d7..00000000
--- a/res/anim/slide_left.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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:fromXDelta="100%p" android:toXDelta="0"
- android:duration="@android:integer/config_shortAnimTime" />
-</set> \ No newline at end of file
diff --git a/res/anim/slide_right.xml b/res/anim/slide_right.xml
deleted file mode 100644
index a5617eae..00000000
--- a/res/anim/slide_right.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 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:fromXDelta="-100%p" android:toXDelta="0"
- android:duration="@android:integer/config_shortAnimTime" />
-</set> \ No newline at end of file