summaryrefslogtreecommitdiff
path: root/Host/app/renderer/src/main/java/com/android/car/libraries/templates/host/view/presenters/navigation/res/layout-w1280dp-h1000dp/navigation_template_layout.xml
blob: de60d0274749f898e5b12895bfec9e36e2a87ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright 2021 Google Inc.

 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

      https://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.
-->

<android.support.constraint.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

  <!-- This is the card that contains the routing information, arrival view,
       etc. -->
  <include
      android:id="@id/content_container"
      android:layout_width="?templateRoutingStepsCardContentContainerMinWidth"
      android:layout_height="0dp"
      android:layout_marginStart="?templateCardContentContainerStartMargin"
      android:layout_marginTop="?templateCardContentContainerTopMargin"
      android:layout_marginBottom="?templateCardContentContainerBottomMargin"
      app:layout_goneMarginTop="?templateCardContentContainerTopMargin"
      app:layout_constraintTop_toBottomOf="@id/action_strip"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintVertical_bias="0.0"
      app:layout_constraintHeight_default="wrap"
      app:layout_constraintHeight_min="?templateRoutingStepsCardContentContainerMinHeight"
      layout="@layout/steps_card_container"/>

  <!-- The travel estimate (aka "ETA") card at the bottom left of the
       screen. -->
  <include
      layout="@layout/travel_estimate_card_container"
      android:visibility="gone" />

  <include
      android:id="@+id/pan_overlay"
      android:visibility="gone"
      android:layout_height="wrap_content"
      android:layout_width="wrap_content"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintEnd_toEndOf="parent"
      layout="@layout/pan_overlay" />

  <!-- The action strip with global actions for the template. -->
  <include
      android:id="@+id/action_strip"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      app:layout_constraintStart_toStartOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      layout="@layout/action_strip_view_floating"/>

  <include
      android:id="@+id/map_action_strip"
      layout="@layout/map_action_strip_view_floating"/>
</android.support.constraint.ConstraintLayout>