summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2010-11-08 17:00:18 -0800
committerAdam Powell <adamp@google.com>2010-11-08 17:02:48 -0800
commitdf99daa3bce2c8ecbea6f5d091c090834b8e2089 (patch)
treec39842c794aea30f85a15390753c3d6f9eace27e /res/layout-port
parentf68b229cb2e4c249ae29e652d16a095be44642c0 (diff)
downloadandroid_packages_apps_Trebuchet-df99daa3bce2c8ecbea6f5d091c090834b8e2089.tar.gz
android_packages_apps_Trebuchet-df99daa3bce2c8ecbea6f5d091c090834b8e2089.tar.bz2
android_packages_apps_Trebuchet-df99daa3bce2c8ecbea6f5d091c090834b8e2089.zip
Fix bug 3126193 - over-scroll glow extends beyond folder bounds
Fixed a layout problem in Launcher2 where lists and grids did not have proper containers. Change-Id: I683e42362345a9c9d18d957e84bb8522675fdfc6
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/live_folder_grid.xml30
-rw-r--r--res/layout-port/user_folder.xml30
2 files changed, 34 insertions, 26 deletions
diff --git a/res/layout-port/live_folder_grid.xml b/res/layout-port/live_folder_grid.xml
index 745307f4a..85f74dbfd 100644
--- a/res/layout-port/live_folder_grid.xml
+++ b/res/layout-port/live_folder_grid.xml
@@ -30,21 +30,25 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
- <GridView
- android:id="@id/folder_content"
- android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1"
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:background="@drawable/box_launcher_bottom">
+ <GridView
+ android:id="@id/folder_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
- android:cacheColorHint="#ff333333"
- android:background="@drawable/box_launcher_bottom"
+ android:cacheColorHint="#ff333333"
- android:scrollbarAlwaysDrawVerticalTrack="true"
- android:scrollbarStyle="insideInset"
- android:drawSelectorOnTop="false"
- android:listSelector="@drawable/grid_selector"
+ android:scrollbarAlwaysDrawVerticalTrack="true"
+ android:scrollbarStyle="insideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
- android:verticalSpacing="10dip"
- android:numColumns="4" />
+ android:verticalSpacing="10dip"
+ android:numColumns="4" />
+ </FrameLayout>
</com.android.launcher2.LiveFolder>
diff --git a/res/layout-port/user_folder.xml b/res/layout-port/user_folder.xml
index 7377cdeb5..0e6df66c6 100644
--- a/res/layout-port/user_folder.xml
+++ b/res/layout-port/user_folder.xml
@@ -27,21 +27,25 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
- <GridView
- android:id="@id/folder_content"
- android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1"
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:background="@drawable/box_launcher_bottom">
+ <GridView
+ android:id="@id/folder_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
- android:cacheColorHint="#ff333333"
- android:background="@drawable/box_launcher_bottom"
+ android:cacheColorHint="#ff333333"
- android:scrollbarAlwaysDrawVerticalTrack="true"
- android:scrollbarStyle="insideInset"
- android:drawSelectorOnTop="false"
- android:listSelector="@drawable/grid_selector"
+ android:scrollbarAlwaysDrawVerticalTrack="true"
+ android:scrollbarStyle="insideInset"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_selector"
- android:verticalSpacing="10dip"
- android:numColumns="4" />
+ android:verticalSpacing="10dip"
+ android:numColumns="4" />
+ </FrameLayout>
</com.android.launcher2.UserFolder>