• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    android:layoutDirection="ltr"
24    tools:context=".CarLauncher">
25
26    <androidx.constraintlayout.widget.Guideline
27        android:id="@+id/start_edge"
28        android:layout_width="wrap_content"
29        android:layout_height="wrap_content"
30        android:orientation="vertical"
31        app:layout_constraintGuide_begin="@dimen/horizontal_border_size"/>
32
33    <androidx.constraintlayout.widget.Guideline
34        android:id="@+id/top_edge"
35        android:layout_width="wrap_content"
36        android:layout_height="wrap_content"
37        android:orientation="horizontal"
38        app:layout_constraintGuide_begin="@dimen/vertical_border_size"/>
39
40    <androidx.constraintlayout.widget.Guideline
41        android:id="@+id/end_edge"
42        android:layout_width="wrap_content"
43        android:layout_height="wrap_content"
44        android:orientation="vertical"
45        app:layout_constraintGuide_end="@dimen/horizontal_border_size"/>
46
47    <androidx.constraintlayout.widget.Guideline
48        android:id="@+id/bottom_edge"
49        android:layout_width="wrap_content"
50        android:layout_height="wrap_content"
51        android:orientation="horizontal"
52        app:layout_constraintGuide_end="@dimen/vertical_border_size"/>
53
54    <androidx.constraintlayout.widget.Guideline
55        android:id="@+id/divider_horizontal"
56        android:layout_width="wrap_content"
57        android:layout_height="wrap_content"
58        android:orientation="horizontal"
59        app:layout_constraintGuide_percent="@dimen/contextual_screen_percentage"/>
60
61    <View
62        android:id="@+id/top_line"
63        style="@style/HorizontalLineDivider"
64        app:layout_constraintTop_toTopOf="parent"/>
65
66    <FrameLayout
67        android:id="@+id/contextual"
68        android:layout_width="0dp"
69        android:layout_height="0dp"
70        android:layout_margin="@dimen/main_screen_widget_margin"
71        android:layoutDirection="locale"
72        app:layout_constraintBottom_toTopOf="@+id/divider_horizontal"
73        app:layout_constraintRight_toLeftOf="@+id/end_edge"
74        app:layout_constraintLeft_toRightOf="@+id/start_edge"
75        app:layout_constraintTop_toBottomOf="@+id/top_edge"/>
76
77    <FrameLayout
78        android:id="@+id/playback"
79        android:layout_width="0dp"
80        android:layout_height="0dp"
81        android:layout_margin="@dimen/main_screen_widget_margin"
82        android:layoutDirection="locale"
83        app:layout_constraintBottom_toTopOf="@+id/bottom_edge"
84        app:layout_constraintRight_toLeftOf="@+id/end_edge"
85        app:layout_constraintLeft_toRightOf="@+id/start_edge"
86        app:layout_constraintTop_toBottomOf="@+id/divider_horizontal"/>
87    <View
88        android:id="@+id/bottom_line"
89        style="@style/HorizontalLineDivider"
90        app:layout_constraintBottom_toBottomOf="parent"/>
91
92</androidx.constraintlayout.widget.ConstraintLayout>
93