From 2c7266e6e54faec2cf9c830cc3eb1c82ccfb6d53 Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Wed, 23 Sep 2015 10:46:01 -0700 Subject: UI for InCall context for outgoing calls to a contact. For outgoing calls, we want to display recent messages exchanged between the caller and the contact for additional context. This CL is just the UI components. The values are also not finalized, but getting the UI in place will be helpful for inserting the values when the logic is in the place. Bug: 23351559 Change-Id: I11f504cfd4ee7ea488038c849239117beff9a5de --- InCallUI/res/drawable/incoming_sms_background.xml | 25 +++++++++++++ InCallUI/res/drawable/outgoing_sms_background.xml | 25 +++++++++++++ InCallUI/res/layout/call_card_fragment.xml | 20 +++++++++++ .../res/layout/contact_call_info_list_item.xml | 41 ++++++++++++++++++++++ InCallUI/res/values/colors.xml | 5 +++ InCallUI/res/values/dimens.xml | 11 ++++++ 6 files changed, 127 insertions(+) create mode 100644 InCallUI/res/drawable/incoming_sms_background.xml create mode 100644 InCallUI/res/drawable/outgoing_sms_background.xml create mode 100644 InCallUI/res/layout/contact_call_info_list_item.xml (limited to 'InCallUI') diff --git a/InCallUI/res/drawable/incoming_sms_background.xml b/InCallUI/res/drawable/incoming_sms_background.xml new file mode 100644 index 000000000..231ae2588 --- /dev/null +++ b/InCallUI/res/drawable/incoming_sms_background.xml @@ -0,0 +1,25 @@ + + + + + + diff --git a/InCallUI/res/drawable/outgoing_sms_background.xml b/InCallUI/res/drawable/outgoing_sms_background.xml new file mode 100644 index 000000000..09c870f4e --- /dev/null +++ b/InCallUI/res/drawable/outgoing_sms_background.xml @@ -0,0 +1,25 @@ + + + + + + diff --git a/InCallUI/res/layout/call_card_fragment.xml b/InCallUI/res/layout/call_card_fragment.xml index 6d915d976..1887e6b88 100644 --- a/InCallUI/res/layout/call_card_fragment.xml +++ b/InCallUI/res/layout/call_card_fragment.xml @@ -73,6 +73,26 @@ android:background="@color/incall_photo_background_color" android:src="@drawable/img_no_image_automirrored" /> + + + + + + + + + + \ No newline at end of file diff --git a/InCallUI/res/values/colors.xml b/InCallUI/res/values/colors.xml index d77fe0b5f..dd8067137 100644 --- a/InCallUI/res/values/colors.xml +++ b/InCallUI/res/values/colors.xml @@ -110,4 +110,9 @@ #40000000 + + @color/incall_call_banner_subtext_color + @color/dialer_theme_color + @color/incall_call_banner_subtext_color + @color/incall_call_banner_subtext_color diff --git a/InCallUI/res/values/dimens.xml b/InCallUI/res/values/dimens.xml index a6ae2e28a..dc9e88194 100644 --- a/InCallUI/res/values/dimens.xml +++ b/InCallUI/res/values/dimens.xml @@ -119,4 +119,15 @@ 64dp 46dp + + 14sp + 30dp + 15dp + 16sp + 7dp + 12dp + 15dp + 2dp + 7dp + 14sp -- cgit v1.2.3