auto import from //depot/cupcake/@136594
[android/platform/packages/apps/Calendar.git] / res / layout / agenda_item.xml
index e700328..052b037 100644 (file)
@@ -4,9 +4,9 @@
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
-  
+
           http://www.apache.org/licenses/LICENSE-2.0
-  
+
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     android:id="@android:id/content"
     android:layout_height="wrap_content"
     android:layout_width="fill_parent">
-    
-       <LinearLayout
-           android:orientation="horizontal"
-           android:layout_height="wrap_content"
-           android:layout_width="fill_parent"
-           >
-           
-           <View android:id="@+id/vertical_stripe"
-               android:layout_width="10dip"
-               android:layout_height="fill_parent"
-               android:layout_marginRight="5dip" />
-               
-           <LinearLayout
-               android:orientation="vertical"
-               android:layout_height="wrap_content"
-               android:layout_width="fill_parent"
-               android:layout_weight="1">
-               
-               <TextView android:id="@+id/title"
-                   android:layout_width="fill_parent"
-                   android:layout_height="wrap_content"
-                   android:textStyle="bold"
-                   android:textColor="@android:color/black"
-                   style="?android:attr/textAppearanceMediumInverse"
-               />
-               
-               <TextView android:id="@+id/when"
-                   android:layout_width="wrap_content"
-                   android:layout_height="wrap_content"
-                   android:textStyle="bold"
-                   android:textColor="@android:color/black"
-                   style="?android:attr/textAppearanceSmallInverse"
-               />
-                       
-               <TextView android:id="@+id/where"
-                   android:layout_width="fill_parent"
-                   android:layout_height="wrap_content"
-                   android:textStyle="bold"
-                   android:textColor="@android:color/black"
-                   style="?android:attr/textAppearanceSmallInverse"
-               />
-           </LinearLayout>
-       </LinearLayout>
-</FrameLayout>
\ No newline at end of file
+
+    <LinearLayout
+        android:orientation="horizontal"
+        android:layout_height="wrap_content"
+        android:layout_width="fill_parent"
+        android:gravity="center_vertical"
+        android:minHeight="?android:attr/listPreferredItemHeight"
+        >
+
+        <View android:id="@+id/vertical_stripe"
+            android:layout_width="10dip"
+            android:layout_height="fill_parent"
+            android:layout_marginRight="5dip" />
+
+        <LinearLayout
+            android:orientation="vertical"
+            android:layout_height="wrap_content"
+            android:layout_width="fill_parent"
+            android:layout_weight="1">
+
+            <TextView android:id="@+id/title"
+                android:layout_width="fill_parent"
+                android:layout_height="wrap_content"
+                android:textStyle="bold"
+                android:textColor="@android:color/black"
+                style="?android:attr/textAppearanceMediumInverse"
+            />
+
+            <TextView android:id="@+id/when"
+                android:layout_width="wrap_content"
+                android:layout_height="wrap_content"
+                android:textStyle="bold"
+                android:textColor="@android:color/black"
+                style="?android:attr/textAppearanceSmallInverse"
+            />
+
+            <TextView android:id="@+id/where"
+                android:layout_width="fill_parent"
+                android:layout_height="wrap_content"
+                android:textStyle="bold"
+                android:textColor="@android:color/black"
+                style="?android:attr/textAppearanceSmallInverse"
+            />
+        </LinearLayout>
+    </LinearLayout>
+</FrameLayout>