1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2016 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<ScrollView
19        xmlns:android="http://schemas.android.com/apk/res/android"
20        android:layout_width="match_parent"
21        android:layout_height="match_parent"
22        android:fillViewport="true">
23
24    <LinearLayout
25            android:orientation="vertical"
26            android:layout_width="match_parent"
27            android:layout_height="match_parent">
28
29        <include
30                android:id="@+id/butter_bar"
31                android:visibility="gone"
32                layout="@xml/blocking_suppressed_butterbar" />
33
34        <FrameLayout
35                android:layout_width="match_parent"
36                android:layout_height="match_parent">
37
38            <TextView
39                    android:id="@+id/non_primary_user"
40                    android:layout_width="match_parent"
41                    android:layout_height="wrap_content"
42                    android:text="@string/non_primary_user"
43                    android:paddingTop="@dimen/blocked_numbers_large_padding"
44                    android:paddingLeft="@dimen/blocked_numbers_large_padding"
45                    android:paddingRight="@dimen/blocked_numbers_large_padding"
46                    style="@style/BlockedNumbersTextPrimary2"
47                    android:visibility="gone" />
48
49            <LinearLayout
50                    android:id="@+id/manage_blocked_ui"
51                    android:orientation="vertical"
52                    android:layout_width="match_parent"
53                    android:layout_height="wrap_content">
54
55                <FrameLayout
56                        android:id="@+id/enhanced_call_blocking_container"
57                        android:layout_width="match_parent"
58                        android:layout_height="wrap_content" />
59
60                <LinearLayout
61                        android:orientation="vertical"
62                        android:layout_width="match_parent"
63                        android:layout_height="wrap_content"
64                        android:paddingTop="@dimen/blocked_numbers_large_padding"
65                        android:paddingLeft="@dimen/blocked_numbers_large_padding"
66                        android:paddingRight="@dimen/blocked_numbers_large_padding">
67
68                    <TextView
69                            android:layout_width="wrap_content"
70                            android:layout_height="wrap_content"
71                            android:text="@string/blocked_numbers_msg"
72                            android:paddingBottom="@dimen/blocked_numbers_extra_large_padding"
73                            style="@style/BlockedNumbersTextPrimary2" />
74
75                    <TextView
76                            android:id="@+id/add_blocked"
77                            android:layout_width="wrap_content"
78                            android:layout_height="wrap_content"
79                            android:text="@string/block_number"
80                            android:layout_marginBottom="@dimen/blocked_numbers_button_bottom_margin"
81                            android:paddingTop="@dimen/blocked_numbers_button_large_padding"
82                            android:paddingBottom="@dimen/blocked_numbers_button_large_padding"
83                            style="@style/BlockedNumbersButton"
84                            android:background="?android:attr/selectableItemBackgroundBorderless" />
85
86                    <ProgressBar
87                            android:id="@+id/progress_bar"
88                            android:layout_width="wrap_content"
89                            android:layout_height="wrap_content"
90                            android:layout_gravity="center"
91                            android:indeterminate="true"
92                            android:layout_marginTop="@dimen/blocked_numbers_progress_bar_padding"
93                            style="@android:style/Widget.ProgressBar.Large" />
94
95                    <include layout="@xml/layout_customized_listview" />
96                </LinearLayout>
97            </LinearLayout>
98        </FrameLayout>
99    </LinearLayout>
100</ScrollView>