Refactor zooming animation, and apply it to customize drawer too.
Change-Id: I0bbd5a68adc82cea02dc583ac3d04e3de8c0346e
diff --git a/res/layout-xlarge/all_apps_tabbed.xml b/res/layout-xlarge/all_apps_tabbed.xml
index c772706..0842fd0 100644
--- a/res/layout-xlarge/all_apps_tabbed.xml
+++ b/res/layout-xlarge/all_apps_tabbed.xml
@@ -44,7 +44,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
- android:layout_marginBottom="@dimen/button_bar_height"
+ android:layout_marginBottom="8dip"
android:layout_marginTop="8dip"
android:nextFocusDown="@+id/all_apps_2d_home"
android:nextFocusUp="@null"
diff --git a/res/layout-xlarge/launcher.xml b/res/layout-xlarge/launcher.xml
index fa9c881..395b048 100644
--- a/res/layout-xlarge/launcher.xml
+++ b/res/layout-xlarge/launcher.xml
@@ -26,7 +26,7 @@
layout="@layout/all_apps_tabbed"
android:id="@+id/all_apps_view"
android:layout_width="match_parent"
- android:layout_height="550dip"
+ android:layout_height="500dip"
android:layout_gravity="top"/>
<!-- The workspace contains 5 screens of cells -->
@@ -96,8 +96,7 @@
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="500dip"
- android:layout_gravity="bottom"
- android:visibility="gone">
+ android:layout_gravity="bottom">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
diff --git a/res/values-xlarge/config.xml b/res/values-xlarge/config.xml
index 2f94c40..1a9ecc6 100644
--- a/res/values-xlarge/config.xml
+++ b/res/values-xlarge/config.xml
@@ -10,6 +10,9 @@
<!-- Scaling factor used in the all apps zooming animations -->
<integer name="config_allAppsZoomScaleFactor">5</integer>
+ <!-- Duration in milliseconds of the camera pan animation b/w all apps & customize -->
+ <integer name="config_allAppsCameraPanTime">700</integer>
+
<!-- Duration in milliseconds of the workspace shrink animation -->
<integer name="config_workspaceShrinkTime">700</integer>