Anne Rong | 6fb201a | 2015-09-16 11:21:00 -0700 | [diff] [blame] | 1 | <?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" |
Anne Rong | d994a77 | 2015-09-21 18:16:02 -0700 | [diff] [blame] | 17 | android:id="@+id/blocked_number_fragment" |
Anne Rong | 6fb201a | 2015-09-16 11:21:00 -0700 | [diff] [blame] | 18 | android:layout_width="match_parent" |
Andrew Lee | 3663afe | 2015-10-04 01:31:28 -0700 | [diff] [blame] | 19 | android:layout_height="match_parent" |
| 20 | android:orientation="vertical" |
| 21 | android:paddingTop="?android:attr/actionBarSize" |
| 22 | android:background="@color/blocked_number_background"> |
Anne Rong | 6fb201a | 2015-09-16 11:21:00 -0700 | [diff] [blame] | 23 | |
Andrew Lee | d625d28 | 2015-10-21 01:27:04 -0700 | [diff] [blame^] | 24 | <ListView android:id="@id/android:list" |
Anne Rong | 6fb201a | 2015-09-16 11:21:00 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
Andrew Lee | d625d28 | 2015-10-21 01:27:04 -0700 | [diff] [blame^] | 27 | android:divider="@null" |
| 28 | android:headerDividersEnabled="false" /> |
Andrew Lee | b980fc4 | 2015-10-19 23:57:25 -0700 | [diff] [blame] | 29 | |
Andrew Lee | d625d28 | 2015-10-21 01:27:04 -0700 | [diff] [blame^] | 30 | <TextView android:id="@android:id/empty" |
Andrew Lee | b980fc4 | 2015-10-19 23:57:25 -0700 | [diff] [blame] | 31 | android:layout_width="match_parent" |
Andrew Lee | d625d28 | 2015-10-21 01:27:04 -0700 | [diff] [blame^] | 32 | android:layout_height="match_parent" |
| 33 | android:paddingStart="@dimen/blocked_number_horizontal_margin" |
| 34 | android:paddingTop="@dimen/blocked_number_top_margin" |
| 35 | android:paddingBottom="@dimen/blocked_number_bottom_margin" |
| 36 | android:text="@string/listNoBlockedNumbers" /> |
Anne Rong | 6fb201a | 2015-09-16 11:21:00 -0700 | [diff] [blame] | 37 | |
Andrew Lee | 3663afe | 2015-10-04 01:31:28 -0700 | [diff] [blame] | 38 | </LinearLayout> |