1<!--
2  ~ Copyright (C) 2020 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16
17<LinearLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical"
22    android:gravity="center_horizontal">
23    <TextView
24        android:layout_height="wrap_content"
25        android:layout_width="wrap_content"
26        android:layout_marginTop="@dimen/title_margin_top"
27        android:layout_marginStart="@dimen/car_ui_margin"
28        android:layout_marginEnd="@dimen/car_ui_margin"
29        android:gravity="center"
30        android:text="@string/turn_on_bluetooth_title"
31        android:textSize="@dimen/car_ui_body1_size"
32        android:textAppearance="@style/AssociationTitle"/>
33    <TextView
34        android:layout_height="wrap_content"
35        android:layout_width="wrap_content"
36        android:layout_marginTop="@dimen/message_margin_top"
37        android:layout_marginStart="@dimen/car_ui_margin"
38        android:layout_marginEnd="@dimen/car_ui_margin"
39        android:gravity="center"
40        android:text="@string/turn_on_bluetooth_message"
41        android:textAppearance="@style/AssociationMessage"/>
42    <Button
43        android:id="@+id/turn_on_button"
44        android:layout_marginTop="@dimen/button_margin_top"
45        android:layout_height="wrap_content"
46        android:layout_width="wrap_content"
47        android:text="@string/turn_on"/>
48</LinearLayout>