116 lines
4.4 KiB
XML
116 lines
4.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!-- Copyright (C) 2021 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="match_parent"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/section_maneuver"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/maneuver"
|
||
|
android:layout_width="@dimen/maneuver_width"
|
||
|
android:layout_height="@dimen/maneuver_height"
|
||
|
android:layout_marginLeft="@dimen/maneuver_margin"
|
||
|
android:layout_marginRight="@dimen/maneuver_margin"
|
||
|
android:tint="@android:color/white"/>
|
||
|
<ImageView
|
||
|
android:id="@+id/provided_maneuver"
|
||
|
android:layout_width="@dimen/provided_maneuver_width"
|
||
|
android:layout_height="@dimen/provided_maneuver_height"
|
||
|
android:layout_gravity="center"/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/section_service_status"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:visibility="invisible">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/service_status"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Rerouting..."
|
||
|
android:textSize="@dimen/distance_text_size"/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/section_navigation"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1.0">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/distance"
|
||
|
android:layout_width="@dimen/distance_width"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:maxLines="1"
|
||
|
android:textSize="@dimen/distance_text_size"/>
|
||
|
|
||
|
<com.android.car.cluster.view.LaneView
|
||
|
android:id="@+id/lane"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="@dimen/laneview_height"
|
||
|
android:layout_alignParentRight="true"/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<com.android.car.cluster.view.CueView
|
||
|
android:id="@+id/cue"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:maxLines="1"
|
||
|
android:textSize="@dimen/cue_text_size"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/eta"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginRight="@dimen/eta_margin_right"
|
||
|
android:textSize="@dimen/eta_text_size"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/segment"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:maxLines="1"
|
||
|
android:ellipsize="end"
|
||
|
android:textSize="@dimen/segment_text_size"/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<com.android.car.cluster.view.LaneView
|
||
|
android:id="@+id/provided_lane"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="@dimen/provided_laneview_height"
|
||
|
android:layout_marginLeft="@dimen/distance_width"/>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|