From 927447e71d5daef2bbd4ed313a41d3ef9759cb18 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Fri, 4 May 2018 13:19:29 -0700 Subject: Chaniging all-apps scrim > Converting the scrim to View, to better avoid overdraw > Overview and Spring loaded state have different scrim alpha > When going from overview to all-apps, there is a color scrim drawn over the overview panel. The slef color is merged with this color to prevent overdraw, and the remaining screen is drawn with a cut-out round rect path Bug: 79111591 Change-Id: I26801fde13dd6adb4b06110bbe8087e35cc31847 --- res/layout/launcher.xml | 3 +++ res/layout/scrim_view.xml | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 res/layout/scrim_view.xml (limited to 'res/layout') diff --git a/res/layout/launcher.xml b/res/layout/launcher.xml index 6556adffc..cd8a4253b 100644 --- a/res/layout/launcher.xml +++ b/res/layout/launcher.xml @@ -57,6 +57,9 @@ android:id="@+id/drop_target_bar" layout="@layout/drop_target_bar" /> + + + + \ No newline at end of file -- cgit v1.2.3