Copy AppMenu framework from Chrome
- copied AppMenu framework files from
org.chromium.chrom.browser.appmenu
commit-id: fdb3ea17e8436e028e320b1a752249d36423483d
Change-Id: I01e9106cd4107fadee6951c13b7e6ac2329d98e4
diff --git a/res/anim/menu_exit.xml b/res/anim/menu_exit.xml
new file mode 100644
index 0000000..5a2a93d
--- /dev/null
+++ b/res/anim/menu_exit.xml
@@ -0,0 +1,20 @@
+<?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="@fraction/menu_animation_pivot_x"
+ 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