summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony <twickham@google.com>2018-05-29 12:09:57 -0700
committerTony <twickham@google.com>2018-05-29 12:09:57 -0700
commit615ad40c38a75a197c2adf266a539e8a0258245d (patch)
treece890b3522b85ebfccfcbdc19dedfa0f624d5471
parent31942e788b6fb47cd2398cefc6f30e2b214f0755 (diff)
downloadandroid_packages_apps_Trebuchet-615ad40c38a75a197c2adf266a539e8a0258245d.tar.gz
android_packages_apps_Trebuchet-615ad40c38a75a197c2adf266a539e8a0258245d.tar.bz2
android_packages_apps_Trebuchet-615ad40c38a75a197c2adf266a539e8a0258245d.zip
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
-rw-r--r--quickstep/res/layout/fallback_recents_activity.xml2
-rw-r--r--quickstep/res/layout/overview_panel.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/quickstep/res/layout/fallback_recents_activity.xml b/quickstep/res/layout/fallback_recents_activity.xml
index 7ecab3201..84e13add5 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"
>
<include layout="@layout/overview_clear_all_button"/>
@@ -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 919afdb37..840b040ac 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"
>
<include layout="@layout/overview_clear_all_button"/>
@@ -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"