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    <ImageView
24        android:layout_width="@dimen/icon_size"
25        android:layout_height="@dimen/icon_size"
26        android:layout_marginTop="@dimen/instruction_margin_top"
27        android:layout_marginStart="@dimen/car_ui_margin"
28        android:layout_marginEnd="@dimen/car_ui_margin"
29        android:src="@drawable/ic_smartphone"
30        style="@style/AssociationTopIcon"/>
31    <TextView
32        android:layout_height="wrap_content"
33        android:layout_width="wrap_content"
34        android:layout_marginTop="@dimen/instruction_detail_margin_top"
35        android:layout_marginStart="@dimen/car_ui_margin"
36        android:layout_marginEnd="@dimen/car_ui_margin"
37        android:gravity="center"
38        android:text="@string/associated_device_pairing_code_title"
39        android:textAppearance="@style/AssociationTitle"/>
40    <TextView
41        android:layout_height="wrap_content"
42        android:layout_width="wrap_content"
43        android:layout_marginTop="@dimen/instruction_detail_margin_top"
44        android:layout_marginStart="@dimen/car_ui_margin"
45        android:layout_marginEnd="@dimen/car_ui_margin"
46        android:gravity="center"
47        android:text="@string/associated_device_pairing_message"
48        android:textAppearance="@style/AssociationMessage"/>
49    <TextView
50        android:id="@+id/pairing_code"
51        android:layout_height="@dimen/list_item_height"
52        android:layout_width="wrap_content"
53        android:layout_marginTop="@dimen/pairing_code_margin_top"
54        android:layout_marginStart="@dimen/car_ui_margin"
55        android:layout_marginEnd="@dimen/car_ui_margin"
56        android:gravity="center"
57        android:textAppearance="@style/AssociationPairingCode"/>
58</LinearLayout>
59