blob: bbface6de7409da5dc85673c22e9facf8ef0792a [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:orientation="vertical"
20 android:background="@color/blocked_number_background"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent">
23
24 <android.support.v7.widget.CardView
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 card_view:cardCornerRadius="0dp">
28
29 <ListView android:id="@id/android:list"
30 android:layout_width="match_parent"
31 android:layout_height="match_parent"
32 android:background="@color/background_dialer_white"
33 android:layout_weight="1"
34 android:drawSelectorOnTop="false"
35 android:headerDividersEnabled="false" />
36
37 <LinearLayout
38 android:id="@android:id/empty"
39 android:layout_width="fill_parent"
40 android:layout_height="fill_parent"
41 android:orientation="vertical">
42
43 <include layout="@layout/blocked_number_header" />
44
45 <TextView android:id="@id/android:empty"
46 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
57</LinearLayout>