diff options
author | Fang Yunong <yunong@codeaurora.org> | 2015-11-27 10:34:26 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-09-01 22:43:28 -0700 |
commit | f5ad42917dbf1fa5180c1ced937198e3448e09af (patch) | |
tree | d88664aa4ed6c656fd8f184f51c27148a9b5a6c1 /res/drawable/ic_enhance_answer_rx_video_activated_layer.xml | |
parent | 8cb34a6a2c05e7b8b354f64442bb0b033b4a544c (diff) | |
download | android_packages_apps_Dialer-f5ad42917dbf1fa5180c1ced937198e3448e09af.tar.gz android_packages_apps_Dialer-f5ad42917dbf1fa5180c1ced937198e3448e09af.tar.bz2 android_packages_apps_Dialer-f5ad42917dbf1fa5180c1ced937198e3448e09af.zip |
InCallUI: customize video call UI
Include following customization for video call UI:
1. Prevent make video call for some carrier:
To meet some regional carriers requirement, check if phone number
less than 7 or contains #, * or non-digit characters before making
a video call.
2. UI enhancement for IncallUI of video call:
Add UIs for answer_rx, answer_tx, answer_video, decline_video to make
the UI more friendly to end user.
Change-Id: I310bcbf021f1217a6e2a648d33b266297d7d9212
CRs-Fixed: 1039326
Diffstat (limited to 'res/drawable/ic_enhance_answer_rx_video_activated_layer.xml')
-rw-r--r-- | res/drawable/ic_enhance_answer_rx_video_activated_layer.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/res/drawable/ic_enhance_answer_rx_video_activated_layer.xml b/res/drawable/ic_enhance_answer_rx_video_activated_layer.xml new file mode 100644 index 000000000..e0e19d5d0 --- /dev/null +++ b/res/drawable/ic_enhance_answer_rx_video_activated_layer.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (c) 2015, The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of The Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/fab_blue" /> + <item> + <bitmap + android:gravity="center" + android:src="@drawable/ic_hm_videocam" + android:tint="@color/glowpad_widget_active_color" + android:autoMirrored="true" /> + </item> +</layer-list> |