agenda_item.xml revision 7abd8566e5718c43d610e046495bcb412e87847f
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
18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@android:id/content"
20    android:layout_height="wrap_content"
21    android:layout_width="fill_parent">
22
23    <LinearLayout
24        android:orientation="horizontal"
25        android:layout_height="wrap_content"
26        android:layout_width="fill_parent"
27        android:gravity="center_vertical"
28        android:minHeight="?android:attr/listPreferredItemHeight"
29        >
30
31        <View android:id="@+id/vertical_stripe"
32            android:layout_width="10dip"
33            android:layout_height="fill_parent"
34            android:layout_marginRight="5dip" />
35
36        <LinearLayout
37            android:orientation="vertical"
38            android:layout_height="wrap_content"
39            android:layout_width="fill_parent"
40            android:layout_weight="1">
41
42            <TextView android:id="@+id/title"
43                android:layout_width="fill_parent"
44                android:layout_height="wrap_content"
45                android:textStyle="bold"
46                android:textColor="@android:color/black"
47                style="?android:attr/textAppearanceMediumInverse"
48            />
49
50            <TextView android:id="@+id/when"
51                android:layout_width="wrap_content"
52                android:layout_height="wrap_content"
53                android:textStyle="bold"
54                android:textColor="@android:color/black"
55                style="?android:attr/textAppearanceSmallInverse"
56            />
57
58            <TextView android:id="@+id/where"
59                android:layout_width="fill_parent"
60                android:layout_height="wrap_content"
61                android:textStyle="bold"
62                android:textColor="@android:color/black"
63                style="?android:attr/textAppearanceSmallInverse"
64            />
65        </LinearLayout>
66    </LinearLayout>
67</FrameLayout>
68