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