BearND has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172496

Change subject: Faster up/down animations for bottom dialogs
......................................................................

Faster up/down animations for bottom dialogs

Change-Id: I7814aa7541491b39fe7136e7d38e9886264232ca
(cherry picked from commit 50a1ff820f2a0aa222388170caf6e420346f5d77)
---
A wikipedia/res/anim/slide_in_bottom.xml
A wikipedia/res/anim/slide_out_bottom.xml
M wikipedia/res/values/styles.xml
3 files changed, 13 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/96/172496/1

diff --git a/wikipedia/res/anim/slide_in_bottom.xml 
b/wikipedia/res/anim/slide_in_bottom.xml
new file mode 100644
index 0000000..7e3c4cf
--- /dev/null
+++ b/wikipedia/res/anim/slide_in_bottom.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<translate xmlns:android="http://schemas.android.com/apk/res/android";
+           android:interpolator="@android:anim/decelerate_interpolator"
+           android:fromYDelta="50%p" android:toYDelta="0"
+           android:duration="@android:integer/config_shortAnimTime"/>
diff --git a/wikipedia/res/anim/slide_out_bottom.xml 
b/wikipedia/res/anim/slide_out_bottom.xml
new file mode 100644
index 0000000..ef90f7e
--- /dev/null
+++ b/wikipedia/res/anim/slide_out_bottom.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<translate xmlns:android="http://schemas.android.com/apk/res/android";
+           android:interpolator="@android:anim/accelerate_interpolator"
+           android:fromYDelta="0" android:toYDelta="50%p"
+           android:duration="@android:integer/config_shortAnimTime"/>
\ No newline at end of file
diff --git a/wikipedia/res/values/styles.xml b/wikipedia/res/values/styles.xml
index 333a7cd..1dddae3 100644
--- a/wikipedia/res/values/styles.xml
+++ b/wikipedia/res/values/styles.xml
@@ -38,10 +38,10 @@
         <item name="android:textColor">@color/page_info_heading</item>
     </style>
 
-    <!-- For dialog Animation, uses appcompat-v7 -->
+    <!-- For dialog Animation -->
     <style name="DialogAnimation">
-        <item 
name="android:windowEnterAnimation">@anim/abc_slide_in_bottom</item>
-        <item 
name="android:windowExitAnimation">@anim/abc_slide_out_bottom</item>
+        <item name="android:windowEnterAnimation">@anim/slide_in_bottom</item>
+        <item name="android:windowExitAnimation">@anim/slide_out_bottom</item>
     </style>
     <style name="DialogSlideAnim" parent="@android:style/Theme.Dialog">
         <item name="android:windowAnimationStyle">@style/DialogAnimation</item>

-- 
To view, visit https://gerrit.wikimedia.org/r/172496
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7814aa7541491b39fe7136e7d38e9886264232ca
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: BearND <bsitzm...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to