OSDN Git Service

Increase the row height of menus by 1dip.
authorDaniel Sandler <dsandler@android.com>
Tue, 4 May 2010 18:33:28 +0000 (14:33 -0400)
committerDaniel Sandler <dsandler@android.com>
Tue, 4 May 2010 18:33:28 +0000 (14:33 -0400)
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
core/res/res/layout-port/icon_menu_layout.xml

index 58f7bfb..70e3e83 100644 (file)
@@ -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" />
index c84f7d2..82082da 100644 (file)
@@ -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" />