blob: bb4b7f20f1d8cd662cd88fdae063a2f1228ae59f [file] [log] [blame]
Anne Rong6fb201a2015-09-16 11:21:00 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17 xmlns:card_view="http://schemas.android.com/apk/res-auto"
Anne Rongd994a772015-09-21 18:16:02 -070018 android:id="@+id/blocked_number_fragment"
Anne Rong6fb201a2015-09-16 11:21:00 -070019 android:layout_width="match_parent"
Andrew Lee3663afe2015-10-04 01:31:28 -070020 android:layout_height="match_parent"
21 android:orientation="vertical"
22 android:paddingTop="?android:attr/actionBarSize"
23 android:background="@color/blocked_number_background">
Anne Rong6fb201a2015-09-16 11:21:00 -070024
25 <android.support.v7.widget.CardView
26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
28 card_view:cardCornerRadius="0dp">
29
Anne Rong6fb201a2015-09-16 11:21:00 -070030 <LinearLayout
Andrew Leec412f942015-10-15 10:45:19 -070031 android:orientation="vertical"
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
34 android:background="@color/background_dialer_white">
Anne Rong6fb201a2015-09-16 11:21:00 -070035
36 <include layout="@layout/blocked_number_header" />
37
Andrew Leec412f942015-10-15 10:45:19 -070038 <ListView android:id="@id/android:list"
39 android:layout_width="match_parent"
40 android:layout_height="match_parent"
41 android:layout_weight="1"
42 android:drawSelectorOnTop="false"
43 android:headerDividersEnabled="false" />
44
45 <TextView android:id="@android:id/empty"
Anne Rong6fb201a2015-09-16 11:21:00 -070046 android:layout_width="match_parent"
47 android:layout_height="match_parent"
48 android:paddingStart="@dimen/blocked_number_horizontal_margin"
49 android:paddingTop="@dimen/blocked_number_top_margin"
50 android:paddingBottom="@dimen/blocked_number_bottom_margin"
51 android:text="@string/listNoBlockedNumbers" />
52
53 </LinearLayout>
54
55 </android.support.v7.widget.CardView>
56
Andrew Lee3663afe2015-10-04 01:31:28 -070057</LinearLayout>