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 android:paddingLeft="@dimen/blocked_numbers_large_padding" 38 android:paddingRight="@dimen/blocked_numbers_large_padding"> 39 40 <TextView 41 android:id="@+id/non_primary_user" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:text="@string/non_primary_user" 45 android:paddingTop="@dimen/blocked_numbers_large_padding" 46 style="@style/BlockedNumbersTitleText" 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 android:paddingTop="@dimen/blocked_numbers_large_padding"> 55 56 <TextView 57 android:layout_width="wrap_content" 58 android:layout_height="wrap_content" 59 android:text="@string/blocked_numbers_msg" 60 android:paddingBottom="@dimen/blocked_numbers_extra_large_padding" 61 style="@style/BlockedNumbersTitleText" /> 62 63 <TextView 64 android:id="@+id/add_blocked" 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:text="@string/block_number" 68 android:layout_marginBottom="@dimen/blocked_numbers_button_bottom_margin" 69 style="@style/BlockedNumbersButton" 70 android:background="?android:attr/selectableItemBackgroundBorderless" /> 71 72 <ProgressBar 73 android:id="@+id/progress_bar" 74 android:layout_width="wrap_content" 75 android:layout_height="wrap_content" 76 android:layout_gravity="center" 77 android:indeterminate="true" 78 android:layout_marginTop="@dimen/blocked_numbers_progress_bar_padding" 79 style="@android:style/Widget.ProgressBar.Large" /> 80 81 <ListView 82 android:id="@android:id/list" 83 android:layout_width="match_parent" 84 android:layout_height="match_parent" 85 android:nestedScrollingEnabled="true" 86 android:paddingBottom="@dimen/blocked_numbers_extra_large_padding" /> 87 </LinearLayout> 88 </FrameLayout> 89 </LinearLayout> 90</ScrollView>