From 5d0ef0d90aed557ff10ddf00109d1aac659e6999 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 4 May 2010 14:33:28 -0400 Subject: [PATCH] Increase the row height of menus by 1dip. This prevents CJK characters, which have extra-tall ascenders, from being clipped by the drawable in IconMenuItemView. Bug: 2330380 Change-Id: I1256b85122e1634d5220c648111a5ffe43879f1f --- core/res/res/layout-land/icon_menu_layout.xml | 2 +- core/res/res/layout-port/icon_menu_layout.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/res/res/layout-land/icon_menu_layout.xml b/core/res/res/layout-land/icon_menu_layout.xml index 58f7bfb9af140..70e3e833188e2 100644 --- a/core/res/res/layout-land/icon_menu_layout.xml +++ b/core/res/res/layout-land/icon_menu_layout.xml @@ -18,7 +18,7 @@ android:id="@+android:id/icon_menu" android:layout_width="match_parent" android:layout_height="wrap_content" - android:rowHeight="65dip" + android:rowHeight="66dip" android:maxItems="6" android:maxRows="2" android:maxItemsPerRow="6" /> diff --git a/core/res/res/layout-port/icon_menu_layout.xml b/core/res/res/layout-port/icon_menu_layout.xml index c84f7d2bce5fb..82082da14c83a 100644 --- a/core/res/res/layout-port/icon_menu_layout.xml +++ b/core/res/res/layout-port/icon_menu_layout.xml @@ -18,7 +18,7 @@ android:id="@+android:id/icon_menu" android:layout_width="match_parent" android:layout_height="wrap_content" - android:rowHeight="65dip" + android:rowHeight="66dip" android:maxItems="6" android:maxRows="3" android:maxItemsPerRow="3" />