diff options
author | Patrick Dubroy <dubroy@google.com> | 2010-08-06 16:01:33 -0700 |
---|---|---|
committer | Patrick Dubroy <dubroy@google.com> | 2010-08-09 14:25:36 -0700 |
commit | 3ec8bdd576e23f6aa783d5377abecac6fda07374 (patch) | |
tree | deda51f09890fae61a5b70ff75ed65e9a8f5d7d1 /res | |
parent | 9cf976350b8f07af80884938d539ac538896a583 (diff) | |
download | android_packages_apps_Trebuchet-3ec8bdd576e23f6aa783d5377abecac6fda07374.tar.gz android_packages_apps_Trebuchet-3ec8bdd576e23f6aa783d5377abecac6fda07374.tar.bz2 android_packages_apps_Trebuchet-3ec8bdd576e23f6aa783d5377abecac6fda07374.zip |
Refactor zooming animation, and apply it to customize drawer too.
Change-Id: I0bbd5a68adc82cea02dc583ac3d04e3de8c0346e
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-xlarge/all_apps_tabbed.xml | 2 | ||||
-rw-r--r-- | res/layout-xlarge/launcher.xml | 5 | ||||
-rw-r--r-- | res/values-xlarge/config.xml | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/res/layout-xlarge/all_apps_tabbed.xml b/res/layout-xlarge/all_apps_tabbed.xml index c772706c4..0842fd085 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 fa9c88137..395b04871 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 2f94c4044..1a9ecc675 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> |