activity_blocked_numbers.xml revision c926185584d458323465431c296c51fe52f87945
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<FrameLayout
19        xmlns:android="http://schemas.android.com/apk/res/android"
20        android:layout_width="match_parent"
21        android:layout_height="wrap_content"
22        android:paddingLeft="@dimen/blocked_numbers_large_padding"
23        android:paddingRight="@dimen/blocked_numbers_large_padding">
24
25    <TextView
26            android:id="@+id/non_primary_user"
27            android:layout_width="match_parent"
28            android:layout_height="wrap_content"
29            android:text="@string/non_primary_user"
30            android:paddingTop="@dimen/blocked_numbers_large_padding"
31            style="@style/BlockedNumbersText"
32            android:visibility="gone" />
33
34    <LinearLayout
35            android:id="@+id/manage_blocked_ui"
36            android:orientation="vertical"
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            android:paddingTop="@dimen/blocked_numbers_large_padding">
40
41        <TextView
42                android:layout_width="wrap_content"
43                android:layout_height="wrap_content"
44                android:text="@string/blocked_numbers_msg"
45                android:paddingBottom="@dimen/blocked_numbers_extra_large_padding"
46                style="@style/BlockedNumbersText" />
47
48        <TextView
49                android:id="@+id/add_blocked"
50                android:layout_width="wrap_content"
51                android:layout_height="wrap_content"
52                android:text="@string/block_number"
53                android:paddingBottom="@dimen/blocked_numbers_extra_large_padding"
54                style="@style/BlockedNumbersAddButton" />
55
56        <ProgressBar
57                android:id="@+id/progress_bar"
58                android:layout_width="wrap_content"
59                android:layout_height="wrap_content"
60                android:layout_gravity="center"
61                android:indeterminate="true"
62                android:layout_marginTop="@dimen/blocked_numbers_progress_bar_padding"
63                style="@android:style/Widget.ProgressBar.Large" />
64
65        <ListView
66                android:id="@android:id/list"
67                android:layout_width="match_parent"
68                android:layout_height="match_parent" />
69    </LinearLayout>
70</FrameLayout>
71