diff options
author | Nancy Chen <nancychen@google.com> | 2015-09-23 10:46:01 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2015-09-24 11:12:05 -0700 |
commit | 2c7266e6e54faec2cf9c830cc3eb1c82ccfb6d53 (patch) | |
tree | 99627a4e06d7d3d36858cc25d1d41c2d1cfc55c5 /InCallUI/res/drawable | |
parent | aade8ed7c3d36a55ae6b0703ca7b257097ddcc91 (diff) |
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
Diffstat (limited to 'InCallUI/res/drawable')
-rw-r--r-- | InCallUI/res/drawable/incoming_sms_background.xml | 25 | ||||
-rw-r--r-- | InCallUI/res/drawable/outgoing_sms_background.xml | 25 |
2 files changed, 50 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<shape + xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners + android:topLeftRadius="@dimen/contact_call_content_message_background_main_radius" + android:topRightRadius="@dimen/contact_call_content_message_background_main_radius" + android:bottomRightRadius="@dimen/contact_call_content_message_background_main_radius" + android:bottomLeftRadius="@dimen/contact_call_content_message_background_accent_radius"/> + <solid android:color="@color/contact_call_context_message_background_color" /> +</shape> 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<shape + xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners + android:topLeftRadius="@dimen/contact_call_content_message_background_main_radius" + android:topRightRadius="@dimen/contact_call_content_message_background_main_radius" + android:bottomLeftRadius="@dimen/contact_call_content_message_background_main_radius" + android:bottomRightRadius="@dimen/contact_call_content_message_background_accent_radius"/> + <solid android:color="@color/contact_call_context_message_background_color" /> +</shape> |