1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent"
19    style="@style/RootLayoutPadding">
20  <LinearLayout
21      android:layout_width="match_parent"
22      android:layout_height="match_parent"
23      android:orientation="vertical">
24    <TextView
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:text="@string/dialer_shows_hun_test"/>
28
29    <LinearLayout
30        android:layout_width="wrap_content"
31        android:layout_height="wrap_content"
32        android:layout_marginTop="@dimen/js_padding"
33        android:layout_marginBottom="@dimen/js_padding">
34      <ImageView
35          android:id="@+id/set_default_dialer_image"
36          android:layout_width="wrap_content"
37          android:layout_height="wrap_content"
38          android:layout_marginRight="@dimen/js_padding"
39          android:src="@drawable/fs_indeterminate"/>
40      <TextView
41          android:layout_width="wrap_content"
42          android:layout_height="wrap_content"
43          android:text="@string/dialer_shows_hun_test_instructions"
44          android:textSize="16dp"/>
45    </LinearLayout>
46
47    <Button
48        android:id="@+id/set_default_dialer"
49        android:layout_width="wrap_content"
50        android:layout_height="wrap_content"
51        android:text="@string/voicemail_set_default_dialer_button"/>
52
53    <LinearLayout
54        android:layout_width="wrap_content"
55        android:layout_height="wrap_content"
56        android:layout_marginTop="@dimen/js_padding"
57        android:layout_marginBottom="@dimen/js_padding">
58      <TextView
59          android:id="@+id/dialer_shows_hun_explanation"
60          android:layout_width="wrap_content"
61          android:layout_height="wrap_content"
62          android:text="@string/dialer_shows_hun_explanation"
63          android:textSize="16dp"/>
64    </LinearLayout>
65
66    <LinearLayout
67        android:layout_width="wrap_content"
68        android:layout_height="wrap_content"
69        android:layout_marginTop="@dimen/js_padding"
70        android:layout_marginBottom="@dimen/js_padding">
71      <CheckBox
72          android:id="@+id/dialer_shows_hun_check_box"
73          android:text="@string/dialer_shows_hun_check_box"
74          android:layout_width="wrap_content"
75          android:layout_height="wrap_content"/>
76    </LinearLayout>
77
78    <LinearLayout
79        android:layout_width="wrap_content"
80        android:layout_height="wrap_content"
81        android:layout_marginTop="@dimen/js_padding"
82        android:layout_marginBottom="@dimen/js_padding">
83      <ImageView
84          android:id="@+id/restore_default_dialer_image"
85          android:layout_width="wrap_content"
86          android:layout_height="wrap_content"
87          android:layout_marginRight="@dimen/js_padding"
88          android:src="@drawable/fs_indeterminate"/>
89      <TextView
90          android:id="@+id/restore_default_dialer_text"
91          android:layout_width="wrap_content"
92          android:layout_height="wrap_content"
93          android:text="@string/voicemail_restore_default_dialer_description"
94          android:textSize="16dp"/>
95    </LinearLayout>
96
97    <Button
98        android:id="@+id/restore_default_dialer"
99        android:layout_width="wrap_content"
100        android:layout_height="wrap_content"
101        android:text="@string/voicemail_restore_default_dialer_button"/>
102
103    <include layout="@layout/pass_fail_buttons"/>
104  </LinearLayout>
105</ScrollView>
106