summaryrefslogtreecommitdiff
path: root/InCallUI
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-09-23 14:43:39 -0700
committerNancy Chen <nancychen@google.com>2014-09-23 14:54:37 -0700
commit103f96ca29f6ef6611da38b26e8e0525ec0485d1 (patch)
treedc6c26bcaf534732ccad59b7282f084879c56226 /InCallUI
parent256ed87ee4a8d4b49664dd01bd35bb7843d33074 (diff)
Add background to photo in in-call UI for transparent photos.
Transparent photos should have a white background so that the underlying dialer app does not show through. Bug: 17281219 Change-Id: I1e54b0cf14becf09d4b34ae60f2de7cd6692e5cf
Diffstat (limited to 'InCallUI')
-rw-r--r--InCallUI/res/layout-land/call_card_content.xml1
-rw-r--r--InCallUI/res/layout/call_card_content.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/InCallUI/res/layout-land/call_card_content.xml b/InCallUI/res/layout-land/call_card_content.xml
index 336b46963..0bb45a244 100644
--- a/InCallUI/res/layout-land/call_card_content.xml
+++ b/InCallUI/res/layout-land/call_card_content.xml
@@ -63,6 +63,7 @@
android:gravity="start|center_vertical"
android:scaleType="centerCrop"
android:contentDescription="@string/contactPhoto"
+ android:background="@android:color/white"
android:src="@drawable/img_no_image_automirrored" />
<include layout="@layout/manage_conference_call_button"
diff --git a/InCallUI/res/layout/call_card_content.xml b/InCallUI/res/layout/call_card_content.xml
index 4f1b6f17c..a5fd8f72a 100644
--- a/InCallUI/res/layout/call_card_content.xml
+++ b/InCallUI/res/layout/call_card_content.xml
@@ -67,6 +67,7 @@
android:gravity="top|center_horizontal"
android:scaleType="centerCrop"
android:contentDescription="@string/contactPhoto"
+ android:background="@android:color/white"
android:src="@drawable/img_no_image_automirrored" />
<fragment android:name="com.android.incallui.VideoCallFragment"