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
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
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/call_settings_check_instructions"/>
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:src="@drawable/fs_indeterminate"
40            android:layout_marginRight="@dimen/js_padding"/>
41        <TextView
42            android:layout_width="wrap_content"
43            android:layout_height="wrap_content"
44            android:text="@string/voicemail_set_default_dialer_description"
45            android:textSize="16dp"/>
46    </LinearLayout>
47
48    <Button
49        android:id="@+id/call_settings_check_not_applicable"
50        android:layout_width="wrap_content"
51        android:layout_height="wrap_content"
52        android:text="@string/visual_voicemail_service_remove_sim_not_applicable"/>
53
54      <Button
55        android:id="@+id/set_default_dialer"
56        android:layout_width="wrap_content"
57        android:layout_height="wrap_content"
58        android:text="@string/voicemail_set_default_dialer_button"/>
59
60    <TextView
61        android:layout_width="wrap_content"
62        android:layout_height="wrap_content"
63        android:text="@string/open_call_settings_explanation"
64        android:textSize="16dp"/>
65    <Button
66        android:id="@+id/open_call_settings"
67        android:layout_width="wrap_content"
68        android:layout_height="wrap_content"
69        android:text="@string/open_call_settings"/>
70
71    <LinearLayout
72        android:layout_width="wrap_content"
73        android:layout_height="wrap_content"
74        android:layout_marginTop="@dimen/js_padding"
75        android:layout_marginBottom="@dimen/js_padding">
76        <Button
77            android:id="@+id/settings_hidden"
78            android:layout_width="wrap_content"
79            android:layout_height="wrap_content"
80            android:text="@string/voicemail_hidden"/>
81        <Button
82            android:id="@+id/settings_not_hidden"
83            android:layout_width="wrap_content"
84            android:layout_height="wrap_content"
85            android:text="@string/voicemail_not_hidden"
86        />
87    </LinearLayout>
88
89    <LinearLayout
90        android:layout_width="wrap_content"
91        android:layout_height="wrap_content"
92        android:layout_marginTop="@dimen/js_padding"
93        android:layout_marginBottom="@dimen/js_padding">
94        <ImageView
95            android:id="@+id/restore_default_dialer_image"
96            android:layout_width="wrap_content"
97            android:layout_height="wrap_content"
98            android:src="@drawable/fs_indeterminate"
99            android:layout_marginRight="@dimen/js_padding"/>
100        <TextView
101            android:id="@+id/restore_default_dialer_text"
102            android:layout_width="wrap_content"
103            android:layout_height="wrap_content"
104            android:text="@string/voicemail_restore_default_dialer_description"
105            android:textSize="16dp"/>
106    </LinearLayout>
107
108    <Button
109        android:id="@+id/restore_default_dialer"
110        android:layout_width="wrap_content"
111        android:layout_height="wrap_content"
112        android:text="@string/voicemail_restore_default_dialer_button"/>
113
114    <include layout="@layout/pass_fail_buttons"/>
115  </LinearLayout>
116</ScrollView>
117