1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright 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
17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:app="http://schemas.android.com/apk/res-auto"
19    xmlns:tools="http://schemas.android.com/tools"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content">
22
23    <androidx.cardview.widget.CardView
24        android:layout_width="match_parent"
25        android:layout_height="wrap_content"
26        app:cardCornerRadius="0dp">
27
28        <RelativeLayout
29            android:layout_width="match_parent"
30            android:layout_height="wrap_content"
31            android:orientation="vertical"
32            android:padding="16dp">
33
34            <androidx.appcompat.widget.AppCompatTextView
35                android:id="@+id/route_name"
36                android:layout_width="wrap_content"
37                android:layout_height="wrap_content"
38                android:layout_alignParentLeft="true"
39                android:layout_alignParentStart="true"
40                android:textSize="18sp"
41                android:textStyle="bold"
42                tools:text="Route #1" />
43
44            <androidx.appcompat.widget.AppCompatTextView
45                android:id="@+id/route_id"
46                android:layout_marginTop="4dp"
47                android:layout_width="wrap_content"
48                android:layout_height="wrap_content"
49                android:layout_below="@+id/route_name"
50                android:layout_alignParentLeft="true"
51                android:layout_alignParentStart="true"
52                android:singleLine="true"
53                android:ellipsize="marquee"
54                android:textSize="14sp"
55                android:textStyle="italic"
56                tools:text="id12345678" />
57
58            <androidx.appcompat.widget.AppCompatTextView
59                android:id="@+id/route_address"
60                android:layout_marginTop="16dp"
61                android:layout_width="wrap_content"
62                android:layout_height="wrap_content"
63                android:layout_below="@+id/route_id"
64                android:layout_alignParentLeft="true"
65                android:layout_alignParentStart="true"
66                android:textSize="14sp"
67                tools:text="Address: 12:13:14:15:16" />
68
69            <androidx.appcompat.widget.AppCompatTextView
70                android:id="@+id/route_description"
71                android:layout_marginTop="8dp"
72                android:layout_width="wrap_content"
73                android:layout_height="wrap_content"
74                android:layout_below="@+id/route_address"
75                android:layout_alignParentLeft="true"
76                android:layout_alignParentStart="true"
77                android:textSize="14sp"
78                tools:text="This is a description of an amazing system route." />
79
80            <androidx.appcompat.widget.AppCompatTextView
81                android:id="@+id/route_suitability_status"
82                android:layout_marginTop="8dp"
83                android:layout_width="wrap_content"
84                android:layout_height="wrap_content"
85                android:layout_below="@+id/route_description"
86                android:layout_alignParentLeft="true"
87                android:layout_alignParentStart="true"
88                android:textSize="14sp"
89                tools:text="Suitability status." />
90
91            <androidx.appcompat.widget.AppCompatTextView
92                android:id="@+id/route_transfer_initiated_by_self"
93                android:layout_marginTop="8dp"
94                android:layout_width="wrap_content"
95                android:layout_height="wrap_content"
96                android:layout_below="@+id/route_suitability_status"
97                android:layout_alignParentLeft="true"
98                android:layout_alignParentStart="true"
99                android:textSize="14sp"
100                tools:text="Transfer initiated by self." />
101
102            <androidx.appcompat.widget.AppCompatTextView
103                android:id="@+id/route_transfer_reason"
104                android:layout_marginTop="8dp"
105                android:layout_width="wrap_content"
106                android:layout_height="wrap_content"
107                android:layout_below="@+id/route_transfer_initiated_by_self"
108                android:layout_alignParentLeft="true"
109                android:layout_alignParentStart="true"
110                android:textSize="14sp"
111                tools:text="Transfer reason." />
112
113            <androidx.appcompat.widget.AppCompatButton
114                android:id="@+id/route_selection_button"
115                android:layout_width="wrap_content"
116                android:layout_height="wrap_content"
117                android:layout_below="@+id/route_transfer_reason"
118                android:layout_alignParentLeft="true"
119                android:layout_alignParentStart="true"
120                android:textSize="14sp"
121                tools:text="Selection button" />
122
123        </RelativeLayout>
124
125    </androidx.cardview.widget.CardView>
126
127</FrameLayout>
128
129