From 103f96ca29f6ef6611da38b26e8e0525ec0485d1 Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Tue, 23 Sep 2014 14:43:39 -0700 Subject: 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 --- InCallUI/res/layout/call_card_content.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'InCallUI/res/layout') 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" />