Commit 81da0751 authored by dtrainor@chromium.org's avatar dtrainor@chromium.org

Update Android overflow menu window animation

BUG=394898
NOTRY=true

Review URL: https://codereview.chromium.org/397293006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284568 0039d316-1c4b-4281-b951-d872f2087c98
parent 6ebd31c1
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<scale android:interpolator="@interpolator/transform_curve_interpolator"
android:fromXScale="0"
android:toXScale="1"
android:fromYScale="0"
android:toYScale="1"
android:pivotX="95%" android:pivotY="5%"
android:duration="200" />
<alpha android:interpolator="@android:anim/linear_interpolator"
android:fromAlpha="0" android:toAlpha="1"
android:duration="200" />
</set>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<scale android:interpolator="@interpolator/fade_out_curve_interpolator"
android:fromXScale="1"
android:toXScale="0.5"
android:fromYScale="1"
android:toYScale="0.5"
android:pivotX="95%"
android:pivotY="5%"
android:duration="150" />
<alpha android:interpolator="@interpolator/fade_out_curve_interpolator"
android:fromAlpha="1"
android:toAlpha="0"
android:duration="150" />
</set>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<decelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android" />
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<accelerateDecelerateInterpolator xmlns:android="http://schemas.android.com/apk/res/android" />
......@@ -23,5 +23,10 @@
<item name="android:listPreferredItemPaddingStart">16dp</item>
<item name="android:listPreferredItemPaddingEnd">16dp</item>
<item name="android:textSize">16sp</item>
<item name="android:popupAnimationStyle">@style/OverflowMenuAnim</item>
</style>
<style name="OverflowMenuAnim">
<item name="android:windowEnterAnimation">@anim/menu_enter</item>
<item name="android:windowExitAnimation">@anim/menu_exit</item>
</style>
</resources>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment