diff options
author | Brian Attwell <brianattwell@google.com> | 2014-07-11 17:18:46 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-07-14 22:13:50 +0000 |
commit | 6095369885edcca566a812b551886e29c7ff8039 (patch) | |
tree | 6198ce63a4a3d84a3d652dda2650132e91a334e0 /res | |
parent | e4533b81cda5b6379670509c27d1eacbddcfd024 (diff) | |
download | packages_apps_Contacts-6095369885edcca566a812b551886e29c7ff8039.tar.gz packages_apps_Contacts-6095369885edcca566a812b551886e29c7ff8039.tar.bz2 packages_apps_Contacts-6095369885edcca566a812b551886e29c7ff8039.zip |
Prompt users to add contact details in QC
Also fixed a recent ExpandingEntryCardView regression.
Bug: 16161801
Bug: 16157948
Change-Id: I596ad6975391c4042adcb321e78567339ea8d89e
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/expanding_entry_card_item.xml | 6 | ||||
-rw-r--r-- | res/layout/quickcontact_content.xml | 11 | ||||
-rw-r--r-- | res/values/colors.xml | 2 |
3 files changed, 16 insertions, 3 deletions
diff --git a/res/layout/expanding_entry_card_item.xml b/res/layout/expanding_entry_card_item.xml index 99738a6ac..02a593a2c 100644 --- a/res/layout/expanding_entry_card_item.xml +++ b/res/layout/expanding_entry_card_item.xml @@ -40,7 +40,7 @@ android:layout_alignParentTop="true" android:layout_toEndOf="@+id/icon" android:singleLine="true" - android:textColor="@android:color/black" /> + android:textColor="@color/quickcontact_entry_header_text_color" /> <TextView android:id="@+id/sub_header" @@ -48,7 +48,7 @@ android:layout_height="wrap_content" android:layout_below="@+id/header" android:layout_toEndOf="@+id/icon_sub_header" - android:textColor="@android:color/black" /> + android:textColor="@color/quickcontact_entry_sub_header_text_color" /> <ImageView android:layout_width="wrap_content" @@ -65,7 +65,7 @@ android:id="@+id/text" android:layout_below="@+id/sub_header" android:layout_toEndOf="@+id/icon_text" - android:textColor="@android:color/darker_gray"/> + android:textColor="@color/quickcontact_entry_sub_header_text_color" /> <ImageView android:layout_width="wrap_content" diff --git a/res/layout/quickcontact_content.xml b/res/layout/quickcontact_content.xml index 74d071c72..e98e59986 100644 --- a/res/layout/quickcontact_content.xml +++ b/res/layout/quickcontact_content.xml @@ -35,6 +35,17 @@ android:background="@drawable/quickcontact_card_border"> <com.android.contacts.quickcontact.ExpandingEntryCardView style="@style/ExpandingEntryCardStyle" + android:id="@+id/no_contact_data_card" + android:layout_marginTop="@dimen/communication_card_marginTop" + android:visibility="gone" /> + </FrameLayout> + + <FrameLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@drawable/quickcontact_card_border"> + <com.android.contacts.quickcontact.ExpandingEntryCardView + style="@style/ExpandingEntryCardStyle" android:id="@+id/communication_card" android:layout_marginTop="@dimen/communication_card_marginTop" android:visibility="gone" /> diff --git a/res/values/colors.xml b/res/values/colors.xml index b44f34b56..dc415ed08 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -16,6 +16,8 @@ <resources> <color name="quickcontact_name_detail_background">#66000000</color> + <color name="quickcontact_entry_sub_header_text_color">#737373</color> + <color name="quickcontact_entry_header_text_color">#202020</color> <!-- Color of the background of the contact detail and editor pages --> <color name="background_primary">#f5f5f5</color> |