101 lines
3.8 KiB
XML
101 lines
3.8 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<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"/>
|
||
|
|
||
|
<android.car.cluster.LaneView
|
||
|
android:id="@+id/lane"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="@dimen/laneview_height"
|
||
|
android:layout_alignParentRight="true"/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<android.car.cluster.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>
|
||
|
|
||
|
<android.car.cluster.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>
|