agenda_item.xml revision a390cbfd25a5f3b2f002df725b7580bc78bd9edf
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2007 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:orientation="horizontal" 19 android:layout_height="wrap_content" 20 android:layout_width="fill_parent" 21 android:paddingLeft="1dip" 22 android:background="@drawable/box_appointment" 23 android:layout_marginTop="2dip" 24 android:layout_marginBottom="2dip" 25 android:layout_marginLeft="3dip" 26 android:layout_marginRight="3dip" 27 > 28 29 <ImageView android:id="@+id/vertical_stripe" 30 android:layout_width="wrap_content" 31 android:layout_height="fill_parent" 32 android:layout_marginTop="2dip" 33 android:layout_marginBottom="2dip" 34 android:layout_marginRight="5dip" 35 android:background="@drawable/box_color_white" /> 36 37 <LinearLayout 38 android:orientation="vertical" 39 android:layout_height="wrap_content" 40 android:layout_width="fill_parent" 41 android:layout_weight="1"> 42 43 <TextView android:id="@+id/title" 44 android:layout_width="fill_parent" 45 android:layout_height="wrap_content" 46 android:textStyle="bold" 47 android:textColor="@color/black" 48 style="?android:attr/textAppearanceMediumInverse" 49 /> 50 51 <LinearLayout 52 android:orientation="horizontal" 53 android:layout_width="fill_parent" 54 android:layout_height="wrap_content"> 55 56 <LinearLayout 57 android:orientation="horizontal" 58 android:layout_width="0dip" 59 android:layout_height="wrap_content" 60 android:layout_weight="1" 61 android:gravity="center_vertical"> 62 <TextView android:id="@+id/when" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:textStyle="bold" 66 android:textColor="@color/black" 67 style="?android:attr/textAppearanceSmallInverse" 68 /> 69 70 <ImageView android:id="@+id/repeat_icon" 71 android:layout_width="wrap_content" 72 android:layout_height="fill_parent" 73 android:layout_marginLeft="5dip" 74 android:src="@drawable/ic_repeat_dark" 75 android:focusable="false" 76 android:clickable="false" 77 /> 78 </LinearLayout> 79 80 <LinearLayout android:id="@+id/reminders_container" 81 android:orientation="vertical" 82 android:layout_height="wrap_content" 83 android:layout_width="wrap_content" 84 /> 85 </LinearLayout> 86 87 <TextView android:id="@+id/where" 88 android:layout_width="fill_parent" 89 android:layout_height="wrap_content" 90 android:textStyle="bold" 91 android:textColor="@color/black" 92 style="?android:attr/textAppearanceSmallInverse" 93 /> 94 </LinearLayout> 95</LinearLayout> 96