From 615ad40c38a75a197c2adf266a539e8a0258245d Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 29 May 2018 12:09:57 -0700 Subject: [PATCH] Fix clipping recents when scaling down - Parent shouldn't clip scaled down child - Remove outline provider from scaled down child so it doesn't clip Bug: 80267476 Change-Id: I9feb1ccf2069b8c88d8499e2813c818f9aea19af --- quickstep/res/layout/fallback_recents_activity.xml | 2 ++ quickstep/res/layout/overview_panel.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/quickstep/res/layout/fallback_recents_activity.xml b/quickstep/res/layout/fallback_recents_activity.xml index 7ecab32016..84e13add58 100644 --- a/quickstep/res/layout/fallback_recents_activity.xml +++ b/quickstep/res/layout/fallback_recents_activity.xml @@ -24,6 +24,7 @@ android:id="@+id/overview_panel_container" android:layout_width="match_parent" android:layout_height="match_parent" + android:clipChildren="false" > @@ -33,6 +34,7 @@ android:layout_height="match_parent" android:clipChildren="false" android:clipToPadding="false" + android:outlineProvider="none" android:focusableInTouchMode="true" android:theme="@style/HomeScreenElementTheme" > diff --git a/quickstep/res/layout/overview_panel.xml b/quickstep/res/layout/overview_panel.xml index 919afdb37f..840b040ac0 100644 --- a/quickstep/res/layout/overview_panel.xml +++ b/quickstep/res/layout/overview_panel.xml @@ -18,6 +18,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" + android:clipChildren="false" android:visibility="invisible" > @@ -28,6 +29,7 @@ android:layout_height="match_parent" android:clipChildren="false" android:clipToPadding="false" + android:outlineProvider="none" android:focusableInTouchMode="true" android:accessibilityPaneTitle="@string/accessibility_recent_apps" android:theme="@style/HomeScreenElementTheme"