agenda_day.xml revision 5583eee164ed24afe1c589b18bb3636da3f5b5fd
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:background="@color/agenda_day_bar_background_color"
20    android:orientation="vertical"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content">
23    <View
24        android:id="@+id/top_divider_simple"
25        android:layout_height="1px"
26        android:background="@color/agenda_list_separator_color"
27        android:layout_width="match_parent" />
28    <View
29        android:id="@+id/top_divider_past_present"
30        android:background="@color/agenda_past_present_separator_color"
31        android:visibility="gone"
32        android:layout_height="2dip"
33        android:layout_width="match_parent" />
34    <LinearLayout
35        android:orientation="vertical"
36        android:layout_width="match_parent"
37        android:layout_marginLeft="16dip"
38        android:layout_height="wrap_content"
39        android:minHeight="48dip">
40        <TextView
41            android:id="@+id/day"
42            android:layout_height="wrap_content"
43            android:layout_width="match_parent"
44            android:layout_marginTop="4dip"
45            android:layout_marginBottom="-8dip"
46            android:singleLine="true"
47            android:textSize="12sp"
48            android:textColor="@color/agenda_day_item_text_color" />
49        <TextView
50            android:id="@+id/date"
51            android:layout_height="wrap_content"
52            android:layout_width="match_parent"
53            android:singleLine="true"
54            android:textSize="24sp"
55            android:textColor="@color/agenda_day_item_text_color" />
56    </LinearLayout>
57</LinearLayout>
58