diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:37 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:37 -0800 |
commit | 7abd8566e5718c43d610e046495bcb412e87847f (patch) | |
tree | 8c86fd8fc0799309a9d557bd70d8d9e106d22d85 /res/layout/agenda_item.xml | |
parent | 146de36083f6ce8b7e8a1f974d3990594a36bfec (diff) | |
download | android_packages_apps_Etar-7abd8566e5718c43d610e046495bcb412e87847f.tar.gz android_packages_apps_Etar-7abd8566e5718c43d610e046495bcb412e87847f.tar.bz2 android_packages_apps_Etar-7abd8566e5718c43d610e046495bcb412e87847f.zip |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'res/layout/agenda_item.xml')
-rw-r--r-- | res/layout/agenda_item.xml | 94 |
1 files changed, 48 insertions, 46 deletions
diff --git a/res/layout/agenda_item.xml b/res/layout/agenda_item.xml index e700328d..052b0373 100644 --- a/res/layout/agenda_item.xml +++ b/res/layout/agenda_item.xml @@ -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. @@ -19,47 +19,49 @@ 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> |