| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2020 The Android Open Source Project |
| |
| 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. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:paddingBottom="16dp" |
| android:orientation="horizontal"> |
| |
| <TextView |
| android:id="@+id/title_text" |
| android:layout_weight="1" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| style="@style/EventTitleText"/> |
| |
| <FrameLayout |
| android:id="@+id/expand_collapse" |
| android:layout_width="@dimen/car_ui_list_item_height" |
| android:layout_height="match_parent" |
| android:background="?android:attr/selectableItemBackground"> |
| |
| <ImageView |
| android:id="@+id/expand_collapse_icon" |
| android:layout_gravity="center" |
| android:layout_width="@dimen/car_calendar_expand_collapse_size" |
| android:layout_height="@dimen/car_calendar_expand_collapse_size"/> |
| </FrameLayout> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:id="@+id/events" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" /> |
| |
| <View |
| android:layout_marginBottom="16dp" |
| android:layout_width="match_parent" |
| android:layout_height="1.6dp" |
| android:background="@color/car_calendar_allday_divider_color"/> |
| |
| </LinearLayout> |