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-land/call_card_content.xml | 1 + InCallUI/res/layout/call_card_content.xml | 1 + 2 files changed, 2 insertions(+) (limited to 'InCallUI/res') 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" />