diff options
author | Yorke Lee <yorkelee@google.com> | 2013-09-11 17:24:31 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-11 17:24:31 -0700 |
commit | e2f9282deddb94ef5eec3d0b3de58e0b376a21f4 (patch) | |
tree | 7c830edacb5abe0973ac06dc6bbf4eeb2362f8f6 /res | |
parent | 93ecffd27900150fbaed1af6dd89e4544e5e8449 (diff) | |
parent | f894d67084d58c282ab2b15859a42dd37d504e3e (diff) |
am f894d670: am 18e7fdd5: Add no contacts view to Dialer
* commit 'f894d67084d58c282ab2b15859a42dd37d504e3e':
Add no contacts view to Dialer
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/phone_no_favorites.xml (renamed from res/layout/phone_loading_contacts.xml) | 28 | ||||
-rw-r--r-- | res/layout/show_all_contacts_fragment.xml | 2 |
2 files changed, 12 insertions, 18 deletions
diff --git a/res/layout/phone_loading_contacts.xml b/res/layout/phone_no_favorites.xml index afc3322d1..9fa5d4781 100644 --- a/res/layout/phone_loading_contacts.xml +++ b/res/layout/phone_no_favorites.xml @@ -14,27 +14,21 @@ limitations under the License. --> -<!-- "Loading" text with a spinner, which is used in PhoneFavorite screen --> -<LinearLayout +<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" - android:orientation="horizontal" - android:gravity="start|center_vertical"> - - <ProgressBar - android:indeterminate="true" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:id="@+id/progress_spinner"/> + android:minHeight="?android:attr/listPreferredItemHeight"> <TextView android:id="@+id/title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/contact_list_loading" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_marginStart="4dip" /> + 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"/> -</LinearLayout> +</FrameLayout> diff --git a/res/layout/show_all_contacts_fragment.xml b/res/layout/show_all_contacts_fragment.xml index 14fe340f3..ddc99e84b 100644 --- a/res/layout/show_all_contacts_fragment.xml +++ b/res/layout/show_all_contacts_fragment.xml @@ -23,7 +23,7 @@ <!-- Shown only when an Account filter is set. - paddingTop should be here to show "shade" effect correctly. --> - <!-- TODO {klp} Remove the filter header. --> + <!-- TODO: Remove the filter header. --> <include android:id="@+id/account_filter_header_container" layout="@layout/account_filter_header" /> |