1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2021 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 xmlns:android="http://schemas.android.com/apk/res/android"
18              android:layout_width="match_parent"
19              android:layout_height="match_parent"
20              android:orientation="horizontal">
21
22    <LinearLayout
23        android:id="@+id/section_maneuver"
24        android:layout_width="wrap_content"
25        android:layout_height="wrap_content"
26        android:orientation="vertical">
27
28        <ImageView
29            android:id="@+id/maneuver"
30            android:layout_width="@dimen/maneuver_width"
31            android:layout_height="@dimen/maneuver_height"
32            android:layout_marginLeft="@dimen/maneuver_margin"
33            android:layout_marginRight="@dimen/maneuver_margin"
34            android:tint="@android:color/white"/>
35        <ImageView
36            android:id="@+id/provided_maneuver"
37            android:layout_width="@dimen/provided_maneuver_width"
38            android:layout_height="@dimen/provided_maneuver_height"
39            android:layout_gravity="center"/>
40    </LinearLayout>
41
42    <LinearLayout
43        android:id="@+id/section_service_status"
44        android:layout_width="match_parent"
45        android:layout_height="wrap_content"
46        android:orientation="vertical"
47        android:visibility="invisible">
48
49        <TextView
50            android:id="@+id/service_status"
51            android:layout_width="wrap_content"
52            android:layout_height="wrap_content"
53            android:text="Rerouting..."
54            android:textSize="@dimen/distance_text_size"/>
55    </LinearLayout>
56
57    <LinearLayout
58        android:id="@+id/section_navigation"
59        android:layout_width="match_parent"
60        android:layout_height="wrap_content"
61        android:orientation="vertical">
62
63        <LinearLayout
64            android:layout_width="wrap_content"
65            android:layout_height="match_parent"
66            android:layout_weight="1.0">
67
68            <TextView
69                android:id="@+id/distance"
70                android:layout_width="@dimen/distance_width"
71                android:layout_height="wrap_content"
72                android:maxLines="1"
73                android:textSize="@dimen/distance_text_size"/>
74
75            <com.android.car.cluster.view.LaneView
76                android:id="@+id/lane"
77                android:layout_width="wrap_content"
78                android:layout_height="@dimen/laneview_height"
79                android:layout_alignParentRight="true"/>
80        </LinearLayout>
81
82        <com.android.car.cluster.view.CueView
83            android:id="@+id/cue"
84            android:layout_width="wrap_content"
85            android:layout_height="wrap_content"
86            android:maxLines="1"
87            android:textSize="@dimen/cue_text_size"/>
88
89        <LinearLayout
90            android:layout_width="wrap_content"
91            android:layout_height="wrap_content"
92            android:orientation="horizontal">
93
94            <TextView
95                android:id="@+id/eta"
96                android:layout_width="wrap_content"
97                android:layout_height="wrap_content"
98                android:layout_marginRight="@dimen/eta_margin_right"
99                android:textSize="@dimen/eta_text_size"/>
100
101            <TextView
102                android:id="@+id/segment"
103                android:layout_height="wrap_content"
104                android:layout_width="wrap_content"
105                android:maxLines="1"
106                android:ellipsize="end"
107                android:textSize="@dimen/segment_text_size"/>
108        </LinearLayout>
109
110        <com.android.car.cluster.view.LaneView
111            android:id="@+id/provided_lane"
112            android:layout_width="wrap_content"
113            android:layout_height="@dimen/provided_laneview_height"
114            android:layout_marginLeft="@dimen/distance_width"/>
115    </LinearLayout>
116</LinearLayout>