diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-09 12:29:28 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-09-11 15:59:35 -0700 |
commit | 18e7fdd55f67e3636c161462cb54e7f5555a04de (patch) | |
tree | 7c830edacb5abe0973ac06dc6bbf4eeb2362f8f6 /res/layout/phone_no_favorites.xml | |
parent | e44b3c6a990f41d3e58406310183b16db0dab3ea (diff) |
Add no contacts view to Dialer
Bug: 10330508
Change-Id: I5f73a63118558e734cd36e681c59f4b82050a49c
Diffstat (limited to 'res/layout/phone_no_favorites.xml')
-rw-r--r-- | res/layout/phone_no_favorites.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/res/layout/phone_no_favorites.xml b/res/layout/phone_no_favorites.xml new file mode 100644 index 000000000..9fa5d4781 --- /dev/null +++ b/res/layout/phone_no_favorites.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<FrameLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:minHeight="?android:attr/listPreferredItemHeight"> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:text="@string/listTotalAllContactsZeroStarred" + android:textAppearance="?android:attr/textAppearanceLarge" + android:textColor="?android:attr/textColorSecondary" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp"/> + +</FrameLayout> |