diff options
author | Christine Chen <christinech@google.com> | 2013-09-30 17:08:26 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-09-30 17:08:26 -0700 |
commit | 1a25b5b61cf197792cacf51f3148cfab08502100 (patch) | |
tree | 2a8c3ff47024de4dd1090f89609b715a1f941951 /res | |
parent | bf947b27f7d8059536f11167271728656d4c8ed2 (diff) | |
parent | d03e01e1ae32011058072f9d6a29f46690dbca5f (diff) |
am d03e01e1: Merge "Final touches on no-fav card." into klp-dev
* commit 'd03e01e1ae32011058072f9d6a29f46690dbca5f':
Final touches on no-fav card.
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/phone_no_favorites.xml | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/res/layout/phone_no_favorites.xml b/res/layout/phone_no_favorites.xml index cc9b1ffad..1a0079f52 100644 --- a/res/layout/phone_no_favorites.xml +++ b/res/layout/phone_no_favorites.xml @@ -21,18 +21,6 @@ android:orientation="vertical" android:minHeight="?android:attr/listPreferredItemHeight"> - <ImageView - android:id="@+id/nofavorite_image" - android:layout_height="wrap_content" - android:layout_width="match_parent" - android:layout_gravity="center" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - android:layout_alignParentStart="true" - android:paddingTop="36dp" - android:paddingBottom="16dp" - android:src="@drawable/no_favorites_banner" /> - <include android:id="@+id/show_all_contact_button_in_nofav" layout="@layout/show_all_contact_button" @@ -42,20 +30,34 @@ android:layout_alignParentLeft="true" android:layout_alignParentStart="true"/> - <TextView - android:id="@+id/title" + <LinearLayout + android:id="@+id/nofavorite_frame" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="match_parent" + android:orientation="vertical" android:layout_gravity="center" android:gravity="center" - android:layout_below="@id/nofavorite_image" - android:layout_above="@id/show_all_contact_button_in_nofav" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" - android:text="@string/no_favorites" - android:textAppearance="?android:attr/textAppearanceLarge" - android:textColor="@color/nofavorite_text_color" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp"/> + android:layout_alignParentTop="true" + android:layout_above="@id/show_all_contact_button_in_nofav"> + + <ImageView + android:id="@+id/nofavorite_image" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:gravity="center_horizontal" + android:src="@drawable/no_favorites_banner" + android:layout_marginBottom="14dp"/> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/no_favorites" + android:textAppearance="?android:attr/textAppearanceLarge" + android:textColor="@color/nofavorite_text_color"/> + </LinearLayout> </RelativeLayout> |