diff options
author | Paul Soulos <psoulos@google.com> | 2014-06-10 14:55:32 -0700 |
---|---|---|
committer | Brian Attwell <brianattwell@google.com> | 2014-06-11 14:36:18 -0700 |
commit | 23889ba7ca18ed4ea56248355438a734511bc0b7 (patch) | |
tree | 6bfcfcab8b8525c6152d3fd8083f828ac4c47ef8 /res | |
parent | e3b4e101a8d183d2ef1ea1c894aa53e6144b718a (diff) | |
download | packages_apps_Contacts-23889ba7ca18ed4ea56248355438a734511bc0b7.tar.gz packages_apps_Contacts-23889ba7ca18ed4ea56248355438a734511bc0b7.tar.bz2 packages_apps_Contacts-23889ba7ca18ed4ea56248355438a734511bc0b7.zip |
Update Contact card UI.
1. Adds a separate entry for SMS (still up for debate)
2. Uses the proper icon resources for common contact types
3. Colorizes the icons if available
Change-Id: Ibf491e0e05d453d0d06b0ad16847e4eb34084811
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_email_24dp.png | bin | 0 -> 399 bytes | |||
-rw-r--r-- | res/drawable-hdpi/ic_phone_24dp.png | bin | 0 -> 444 bytes | |||
-rw-r--r-- | res/drawable-hdpi/ic_place_24dp.png | bin | 0 -> 459 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_email_24dp.png | bin | 0 -> 302 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_phone_24dp.png | bin | 0 -> 333 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_place_24dp.png | bin | 0 -> 318 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_email_24dp.png | bin | 0 -> 453 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_phone_24dp.png | bin | 0 -> 530 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_place_24dp.png | bin | 0 -> 536 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_email_24dp.png | bin | 0 -> 596 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_phone_24dp.png | bin | 0 -> 736 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_place_24dp.png | bin | 0 -> 790 bytes | |||
-rw-r--r-- | res/layout/expanding_entry_card_item.xml | 14 | ||||
-rw-r--r-- | res/values/strings.xml | 4 |
14 files changed, 11 insertions, 7 deletions
diff --git a/res/drawable-hdpi/ic_email_24dp.png b/res/drawable-hdpi/ic_email_24dp.png Binary files differnew file mode 100644 index 000000000..231b141cc --- /dev/null +++ b/res/drawable-hdpi/ic_email_24dp.png diff --git a/res/drawable-hdpi/ic_phone_24dp.png b/res/drawable-hdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..a6a644888 --- /dev/null +++ b/res/drawable-hdpi/ic_phone_24dp.png diff --git a/res/drawable-hdpi/ic_place_24dp.png b/res/drawable-hdpi/ic_place_24dp.png Binary files differnew file mode 100644 index 000000000..8e213200f --- /dev/null +++ b/res/drawable-hdpi/ic_place_24dp.png diff --git a/res/drawable-mdpi/ic_email_24dp.png b/res/drawable-mdpi/ic_email_24dp.png Binary files differnew file mode 100644 index 000000000..c32d03a6b --- /dev/null +++ b/res/drawable-mdpi/ic_email_24dp.png diff --git a/res/drawable-mdpi/ic_phone_24dp.png b/res/drawable-mdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..2286bb4cf --- /dev/null +++ b/res/drawable-mdpi/ic_phone_24dp.png diff --git a/res/drawable-mdpi/ic_place_24dp.png b/res/drawable-mdpi/ic_place_24dp.png Binary files differnew file mode 100644 index 000000000..2ef138189 --- /dev/null +++ b/res/drawable-mdpi/ic_place_24dp.png diff --git a/res/drawable-xhdpi/ic_email_24dp.png b/res/drawable-xhdpi/ic_email_24dp.png Binary files differnew file mode 100644 index 000000000..adf14ef84 --- /dev/null +++ b/res/drawable-xhdpi/ic_email_24dp.png diff --git a/res/drawable-xhdpi/ic_phone_24dp.png b/res/drawable-xhdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..cd9ff60b4 --- /dev/null +++ b/res/drawable-xhdpi/ic_phone_24dp.png diff --git a/res/drawable-xhdpi/ic_place_24dp.png b/res/drawable-xhdpi/ic_place_24dp.png Binary files differnew file mode 100644 index 000000000..0f8bc5bd6 --- /dev/null +++ b/res/drawable-xhdpi/ic_place_24dp.png diff --git a/res/drawable-xxhdpi/ic_email_24dp.png b/res/drawable-xxhdpi/ic_email_24dp.png Binary files differnew file mode 100644 index 000000000..d1fc5fc11 --- /dev/null +++ b/res/drawable-xxhdpi/ic_email_24dp.png diff --git a/res/drawable-xxhdpi/ic_phone_24dp.png b/res/drawable-xxhdpi/ic_phone_24dp.png Binary files differnew file mode 100644 index 000000000..3c546e575 --- /dev/null +++ b/res/drawable-xxhdpi/ic_phone_24dp.png diff --git a/res/drawable-xxhdpi/ic_place_24dp.png b/res/drawable-xxhdpi/ic_place_24dp.png Binary files differnew file mode 100644 index 000000000..0eca24964 --- /dev/null +++ b/res/drawable-xxhdpi/ic_place_24dp.png diff --git a/res/layout/expanding_entry_card_item.xml b/res/layout/expanding_entry_card_item.xml index 888d45703..890f2dae7 100644 --- a/res/layout/expanding_entry_card_item.xml +++ b/res/layout/expanding_entry_card_item.xml @@ -26,30 +26,30 @@ android:paddingBottom="@dimen/expanding_entry_card_item_padding_bottom"> <ImageView + android:id="@+id/icon" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:id="@+id/icon" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" - android:layout_marginRight="@dimen/expanding_entry_card_item_image_spacing"/> + android:layout_marginRight="@dimen/expanding_entry_card_item_image_spacing" /> <TextView + android:id="@+id/header" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:id="@+id/header" android:layout_alignParentTop="true" android:layout_toRightOf="@+id/icon" - android:textStyle="bold" + android:singleLine="true" android:textColor="@android:color/black" - android:singleLine="true"/> + android:textStyle="bold" /> <TextView + android:id="@+id/sub_header" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:id="@+id/sub_header" android:layout_below="@+id/header" android:layout_toRightOf="@+id/icon_sub_header" - android:textColor="@android:color/black"/> + android:textColor="@android:color/black" /> <ImageView android:layout_width="wrap_content" diff --git a/res/values/strings.xml b/res/values/strings.xml index 84f32476f..6be304ba1 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -645,6 +645,8 @@ <string name="expanding_entry_card_view_see_more">See more</string> <!-- Button Label to see less on an ExpandingEntryCardView [CHAR LIMIT=40] --> <string name="expanding_entry_card_view_see_less">See less</string> + <!-- Button Label to see all on an ExpandingEntryCardView [CHAR LIMIT=40] --> + <string name="expanding_entry_card_view_see_all">See all</string> <!-- Title of communication card. [CHAR LIMIT=60] --> <string name="communication_card_title">Contact</string> @@ -656,4 +658,6 @@ <string name="timestamp_string_yesterday">Yesterday</string> <!-- Timestamp string for interactions from tomorrow. [CHAR LIMIT=40] --> <string name="timestamp_string_tomorrow">Tomorrow</string> + <!-- Title of sms action entry. [CHAR LIMIT=60] --> + <string name="send_message">Send message</string> </resources> |