1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright (C) 2023 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<!-- If this is not the root then it should fill the parent -->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:app="http://schemas.android.com/apk/res-auto"
19    android:id="@+id/aggregation_data_card"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content"
22    android:orientation="horizontal"
23    android:gravity="center_vertical"
24    android:padding="@dimen/spacing_banner"
25    android:background="@drawable/banner_background" >
26
27    <ImageView
28        android:id="@+id/card_icon"
29        android:layout_width="@dimen/icon_size"
30        android:layout_height="@dimen/icon_size"
31        android:layout_marginEnd="@dimen/spacing_small"
32        app:tint="?android:attr/textColorPrimary" />
33
34    <androidx.constraintlayout.widget.ConstraintLayout
35        android:id="@+id/title_date_container"
36        android:layout_width="0dp"
37        android:layout_weight="1"
38        android:layout_height="wrap_content">
39
40        <TextView
41            android:id="@+id/card_title_number"
42            android:layout_width="wrap_content"
43            android:layout_height="wrap_content"
44            android:layout_marginEnd="@dimen/spacing_xsmall"
45            android:maxLines="1"
46            android:ellipsize="end"
47            app:layout_constraintHorizontal_chainStyle="spread_inside"
48            android:textAppearance="?attr/textAppearanceItem"/>
49
50        <TextView
51            android:id="@+id/card_date"
52            android:layout_width="wrap_content"
53            android:layout_height="wrap_content"
54            android:maxLines="1"
55            android:ellipsize="end"
56            android:textAppearance="?attr/textAppearanceSummary"/>
57
58    </androidx.constraintlayout.widget.ConstraintLayout>
59
60</LinearLayout>