1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2019 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17<androidx.constraintlayout.widget.ConstraintLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    xmlns:tools="http://schemas.android.com/tools"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    tools:context=".CarLauncher">
24
25    <androidx.constraintlayout.widget.Guideline
26        android:id="@+id/start_edge"
27        android:layout_width="wrap_content"
28        android:layout_height="wrap_content"
29        android:orientation="vertical"
30        app:layout_constraintGuide_begin="@dimen/horizontal_border_size"/>
31
32    <androidx.constraintlayout.widget.Guideline
33        android:id="@+id/top_edge"
34        android:layout_width="wrap_content"
35        android:layout_height="wrap_content"
36        android:orientation="horizontal"
37        app:layout_constraintGuide_begin="@dimen/vertical_border_size"/>
38
39    <androidx.constraintlayout.widget.Guideline
40        android:id="@+id/end_edge"
41        android:layout_width="wrap_content"
42        android:layout_height="wrap_content"
43        android:orientation="vertical"
44        app:layout_constraintGuide_end="@dimen/horizontal_border_size"/>
45
46    <androidx.constraintlayout.widget.Guideline
47        android:id="@+id/bottom_edge"
48        android:layout_width="wrap_content"
49        android:layout_height="wrap_content"
50        android:orientation="horizontal"
51        app:layout_constraintGuide_end="@dimen/vertical_border_size"/>
52
53    <androidx.constraintlayout.widget.Guideline
54        android:id="@+id/divider_horizontal"
55        android:layout_width="wrap_content"
56        android:layout_height="wrap_content"
57        android:orientation="horizontal"
58        app:layout_constraintGuide_percent="@dimen/contextual_screen_percentage"/>
59
60    <View
61        android:id="@+id/top_line"
62        style="@style/HorizontalLineDivider"
63        app:layout_constraintTop_toTopOf="parent"/>
64
65    <FrameLayout
66        android:id="@+id/contextual"
67        android:layout_width="0dp"
68        android:layout_height="0dp"
69        android:layout_margin="@dimen/main_screen_widget_margin"
70        app:layout_constraintBottom_toTopOf="@+id/divider_horizontal"
71        app:layout_constraintEnd_toStartOf="@+id/end_edge"
72        app:layout_constraintStart_toEndOf="@+id/start_edge"
73        app:layout_constraintTop_toBottomOf="@+id/top_edge"/>
74
75    <FrameLayout
76        android:id="@+id/playback"
77        android:layout_width="0dp"
78        android:layout_height="0dp"
79        android:layout_margin="@dimen/main_screen_widget_margin"
80        app:layout_constraintBottom_toTopOf="@+id/bottom_edge"
81        app:layout_constraintEnd_toStartOf="@+id/end_edge"
82        app:layout_constraintStart_toEndOf="@+id/start_edge"
83        app:layout_constraintTop_toBottomOf="@+id/divider_horizontal"/>
84    <View
85        android:id="@+id/bottom_line"
86        style="@style/HorizontalLineDivider"
87        app:layout_constraintBottom_toBottomOf="parent"/>
88
89</androidx.constraintlayout.widget.ConstraintLayout>
90