summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-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.xml2
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" />