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