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          android:orientation="vertical">
77
78          <Button
79              android:id="@+id/settings_hidden"
80              android:layout_width="wrap_content"
81              android:layout_height="wrap_content"
82              android:text="@string/voicemail_hidden"/>
83
84          <Button
85              android:id="@+id/settings_not_hidden"
86              android:layout_width="wrap_content"
87              android:layout_height="wrap_content"
88              android:text="@string/voicemail_not_hidden"/>
89      </LinearLayout>
90
91    <LinearLayout
92        android:layout_width="wrap_content"
93        android:layout_height="wrap_content"
94        android:layout_marginTop="@dimen/js_padding"
95        android:layout_marginBottom="@dimen/js_padding">
96        <ImageView
97            android:id="@+id/restore_default_dialer_image"
98            android:layout_width="wrap_content"
99            android:layout_height="wrap_content"
100            android:src="@drawable/fs_indeterminate"
101            android:layout_marginRight="@dimen/js_padding"/>
102        <TextView
103            android:id="@+id/restore_default_dialer_text"
104            android:layout_width="wrap_content"
105            android:layout_height="wrap_content"
106            android:text="@string/voicemail_restore_default_dialer_description"
107            android:textSize="16dp"/>
108    </LinearLayout>
109
110    <Button
111        android:id="@+id/restore_default_dialer"
112        android:layout_width="wrap_content"
113        android:layout_height="wrap_content"
114        android:text="@string/voicemail_restore_default_dialer_button"/>
115
116    <include layout="@layout/pass_fail_buttons"/>
117  </LinearLayout>
118</ScrollView>
119