From 15ea33d38b68c4a603b374f57049dbe37f7b74e2 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 30 Apr 2009 15:11:58 -0700 Subject: [PATCH] Fixes #1798818. Enable the appropriate cache color hint for folders to speed up the scrolling. --- res/layout-land/live_folder_grid.xml | 1 + res/layout-land/user_folder.xml | 1 + res/layout-port/live_folder_grid.xml | 1 + res/layout-port/user_folder.xml | 1 + res/layout/live_folder_list.xml | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/res/layout-land/live_folder_grid.xml b/res/layout-land/live_folder_grid.xml index d1b02a4a62..bb623b0f6d 100644 --- a/res/layout-land/live_folder_grid.xml +++ b/res/layout-land/live_folder_grid.xml @@ -36,6 +36,7 @@ android:layout_height="0dip" android:layout_weight="1" + android:cacheColorHint="#ff333333" android:background="@drawable/box_launcher_bottom" android:scrollbarAlwaysDrawVerticalTrack="true" diff --git a/res/layout-land/user_folder.xml b/res/layout-land/user_folder.xml index 61f859e39a..fbf337bdda 100644 --- a/res/layout-land/user_folder.xml +++ b/res/layout-land/user_folder.xml @@ -33,6 +33,7 @@ android:layout_height="0dip" android:layout_weight="1" + android:cacheColorHint="#ff333333" android:background="@drawable/box_launcher_bottom" android:scrollbarAlwaysDrawVerticalTrack="true" diff --git a/res/layout-port/live_folder_grid.xml b/res/layout-port/live_folder_grid.xml index ec32d417cf..e5bcafe543 100644 --- a/res/layout-port/live_folder_grid.xml +++ b/res/layout-port/live_folder_grid.xml @@ -36,6 +36,7 @@ android:layout_height="0dip" android:layout_weight="1" + android:cacheColorHint="#ff333333" android:background="@drawable/box_launcher_bottom" android:scrollbarAlwaysDrawVerticalTrack="true" diff --git a/res/layout-port/user_folder.xml b/res/layout-port/user_folder.xml index 5795aeaabb..27d70fc7a9 100644 --- a/res/layout-port/user_folder.xml +++ b/res/layout-port/user_folder.xml @@ -33,6 +33,7 @@ android:layout_height="0dip" android:layout_weight="1" + android:cacheColorHint="#ff333333" android:background="@drawable/box_launcher_bottom" android:scrollbarAlwaysDrawVerticalTrack="true" diff --git a/res/layout/live_folder_list.xml b/res/layout/live_folder_list.xml index 1d32f88781..f96a190940 100644 --- a/res/layout/live_folder_list.xml +++ b/res/layout/live_folder_list.xml @@ -36,7 +36,7 @@ android:layout_height="0dip" android:layout_weight="1" - android:cacheColorHint="#00000000" + android:cacheColorHint="#ff333333" android:background="@drawable/box_launcher_bottom" />