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/ringtone_settings_check_instructions"/>
29
30    <TextView
31        android:layout_width="wrap_content"
32        android:layout_height="wrap_content"
33        android:text="@string/open_voicemail_settings_explanation"
34        android:textSize="16dp"/>
35
36    <Button
37        android:id="@+id/voicemail_hide_ringtone_settings_not_applicable"
38        android:layout_width="wrap_content"
39        android:layout_height="wrap_content"
40        android:text="@string/visual_voicemail_service_remove_sim_not_applicable"/>
41
42    <Button
43      android:id="@+id/open_voicemail_settings"
44      android:layout_width="wrap_content"
45      android:layout_height="wrap_content"
46      android:text="@string/open_voicemail_settings"/>
47
48      <LinearLayout
49          android:layout_width="wrap_content"
50          android:layout_height="wrap_content"
51          android:layout_marginTop="@dimen/js_padding"
52          android:layout_marginBottom="@dimen/js_padding"
53          android:orientation="vertical">
54
55          <Button
56              android:id="@+id/settings_hidden"
57              android:layout_width="wrap_content"
58              android:layout_height="wrap_content"
59              android:text="@string/ringtone_hidden"/>
60
61          <Button
62              android:id="@+id/settings_not_hidden"
63              android:layout_width="wrap_content"
64              android:layout_height="wrap_content"
65              android:text="@string/ringtone_not_hidden"/>
66      </LinearLayout>
67
68    <LinearLayout
69        android:layout_width="wrap_content"
70        android:layout_height="wrap_content"
71        android:layout_marginTop="@dimen/js_padding"
72        android:layout_marginBottom="@dimen/js_padding">
73        <ImageView
74            android:id="@+id/restore_default_dialer_image"
75            android:layout_width="wrap_content"
76            android:layout_height="wrap_content"
77            android:src="@drawable/fs_indeterminate"
78            android:layout_marginRight="@dimen/js_padding"/>
79        <TextView
80            android:id="@+id/restore_default_dialer_text"
81            android:layout_width="wrap_content"
82            android:layout_height="wrap_content"
83            android:text="@string/voicemail_restore_default_dialer_description"
84            android:textSize="16dp"/>
85    </LinearLayout>
86
87    <Button
88        android:id="@+id/restore_default_dialer"
89        android:layout_width="wrap_content"
90        android:layout_height="wrap_content"
91        android:text="@string/voicemail_restore_default_dialer_button"/>
92
93    <include layout="@layout/pass_fail_buttons"/>
94  </LinearLayout>
95</ScrollView>
96