From 4a076e1e532256c658819b1ce2268e4d3644fcd9 Mon Sep 17 00:00:00 2001 From: Alina Zaidi Date: Wed, 28 Apr 2021 14:21:13 +0000 Subject: [PATCH] Change background color of work widgets, for when work profile is off. Bug: 184833070 Test: Manually tested Change-Id: I7b53a9ee8e30871794bda3f4c5c8ac4d5d45ca32 --- core/res/res/layout/work_widget_mask_view.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/res/res/layout/work_widget_mask_view.xml b/core/res/res/layout/work_widget_mask_view.xml index 9e1692f23a1e9..e7174cc58438a 100644 --- a/core/res/res/layout/work_widget_mask_view.xml +++ b/core/res/res/layout/work_widget_mask_view.xml @@ -18,7 +18,7 @@ Copyright (C) 2015 The Android Open Source Project android:id="@+id/work_widget_mask_frame" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#F3374248" + android:background="?android:attr/colorSurfaceVariant" android:importantForAccessibility="noHideDescendants" android:clickable="true"> @@ -33,8 +33,8 @@ Copyright (C) 2015 The Android Open Source Project android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|right" - android:layout_marginBottom="4dp" - android:layout_marginRight="4dp" + android:layout_marginBottom="12dp" + android:layout_marginRight="12dp" android:src="@drawable/ic_corp_badge_off" android:clickable="false" />