OSDN Git Service

Fixed the problem where long Calendar names are getting cutted off in MyCalendars
authorMichael Chan <mchan@android.com>
Thu, 2 Jul 2009 01:17:49 +0000 (18:17 -0700)
committerMichael Chan <mchan@android.com>
Thu, 2 Jul 2009 01:17:49 +0000 (18:17 -0700)
modified:   res/layout/calendar_item.xml

res/layout/calendar_item.xml

index 9d3ba39..200f249 100644 (file)
@@ -17,7 +17,8 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:orientation="horizontal"
     android:layout_width="fill_parent"
-    android:layout_height="?android:attr/listPreferredItemHeight"
+    android:layout_height="wrap_content"
+    android:minHeight="?android:attr/listPreferredItemHeight"
     android:gravity="center_vertical">
 
     <View android:id="@+id/color"