1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 2017 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
18<ScrollView
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent">
22
23    <LinearLayout
24        android:layout_width="match_parent"
25        android:layout_height="match_parent"
26        android:layout_marginEnd="@dimen/bluetooth_pin_dialog_margin_end"
27        android:layout_marginStart="@dimen/bluetooth_pin_dialog_margin_start"
28        android:orientation="vertical">
29
30        <RelativeLayout
31            android:layout_width="match_parent"
32            android:layout_height="@dimen/bluetooth_pin_dialog_section_height">
33            <LinearLayout
34                android:layout_width="match_parent"
35                android:layout_height="wrap_content"
36                android:layout_alignParentStart="true"
37                android:layout_centerVertical="true"
38                android:gravity="center_vertical"
39                android:orientation="vertical">
40                <TextView
41                    android:id="@+id/pairing_caption"
42                    android:layout_width="match_parent"
43                    android:layout_height="wrap_content"
44                    android:singleLine="true"
45                    android:text="@string/bluetooth_pairing_key_msg"
46                    android:textAppearance="?android:attr/textAppearanceMedium"
47                    android:visibility="gone"/>
48                <TextView
49                    android:id="@+id/pairing_subhead"
50                    android:layout_width="match_parent"
51                    android:layout_height="wrap_content"
52                    android:layout_marginTop="@dimen/bluetooth_pin_dialog_subtext_margin_top"
53                    android:singleLine="true"
54                    android:textAppearance="?android:attr/textAppearanceLarge"
55                    android:visibility="gone"/>
56            </LinearLayout>
57        </RelativeLayout>
58
59        <TextView
60            android:id="@+id/pairing_code_message"
61            android:layout_width="wrap_content"
62            android:layout_height="@dimen/bluetooth_pin_dialog_section_height"
63            android:gravity="center_vertical"
64            android:text="@string/bluetooth_enter_passkey_msg"
65            android:textAppearance="?android:attr/textAppearanceMedium"
66            android:visibility="gone"/>
67
68        <RelativeLayout
69            android:id="@+id/phonebook_sharing_message_confirm_pin_container"
70            android:layout_width="match_parent"
71            android:layout_height="@dimen/bluetooth_pin_dialog_section_height">
72            <CheckBox
73                android:id="@+id/phonebook_sharing_message_confirm_pin"
74                android:layout_width="@dimen/icon_size"
75                android:layout_height="@dimen/icon_size"
76                android:layout_alignParentStart="true"
77                android:layout_centerVertical="true"
78                android:button="@drawable/ic_check_box"/>
79            <TextView
80                android:id="@+id/phonebook_sharing_message_confirm_pin_text"
81                android:layout_width="match_parent"
82                android:layout_height="wrap_content"
83                android:layout_alignParentStart="true"
84                android:layout_centerVertical="true"
85                android:layout_marginEnd="@dimen/bluetooth_pin_dialog_text_margin_end"
86                android:layout_marginStart="@dimen/bluetooth_pin_dialog_text_margin_start"
87                android:gravity="center_vertical"
88                android:singleLine="true"
89                android:textAppearance="?android:attr/textAppearanceMedium"/>
90        </RelativeLayout>
91
92    </LinearLayout>
93
94</ScrollView>
95