1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 The Android Open Source Project
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8  http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15-->
16<androidx.constraintlayout.widget.ConstraintLayout
17    xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:app="http://schemas.android.com/apk/res-auto"
19    android:clickable="true"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent">
22
23    <include
24        android:id="@+id/dialpad_layout"
25        android:layout_width="wrap_content"
26        android:layout_height="wrap_content"
27        app:layout_constraintTop_toTopOf="parent"
28        app:layout_constraintBottom_toBottomOf="parent"
29        app:layout_constraintEnd_toStartOf="@+id/manual_tuner_done_button"
30        app:layout_constraintStart_toStartOf="parent"
31        layout="@layout/tuner_dialpad" />
32
33    <com.android.car.radio.widget.BandSelectorFlat
34        android:id="@+id/manual_tuner_band_selector"
35        app:layout_constraintTop_toTopOf="parent"
36        app:layout_constraintBottom_toTopOf="@+id/manual_tuner_channel"
37        app:layout_constraintStart_toEndOf="@+id/dialpad_layout"
38        app:layout_constraintEnd_toEndOf="parent"
39        android:layout_width="wrap_content"
40        android:layout_height="wrap_content" />
41
42    <TextView
43        android:id="@+id/manual_tuner_channel"
44        android:layout_width="wrap_content"
45        android:layout_height="wrap_content"
46        android:gravity="center"
47        android:textAppearance="@android:style/TextAppearance.DeviceDefault.Large"
48        android:textColor="@color/manual_tuner_button_text_color"
49        android:textDirection="ltr"
50        app:layout_constraintBottom_toTopOf="@+id/manual_tuner_done_button"
51        app:layout_constraintEnd_toEndOf="parent"
52        app:layout_constraintStart_toEndOf="@+id/dialpad_layout"
53        app:layout_constraintTop_toBottomOf="@+id/manual_tuner_band_selector" />
54
55    <Button
56        android:id="@+id/manual_tuner_done_button"
57        android:layout_width="@dimen/tune_button_width"
58        android:layout_height="@dimen/tune_button_height"
59        app:layout_constraintBottom_toBottomOf="parent"
60        app:layout_constraintEnd_toEndOf="parent"
61        app:layout_constraintStart_toEndOf="@+id/dialpad_layout"
62        app:layout_constraintTop_toBottomOf="@+id/manual_tuner_channel"
63        android:textColor="@color/manual_tuner_digit_color"
64        android:textAllCaps="false"
65        android:text="@string/enter_text"
66        android:background="@drawable/manual_tuner_button_background" />
67</androidx.constraintlayout.widget.ConstraintLayout>
68