This commit avoids clipping in Grid-based Recents by: - extending TaskView and AnimatableViewBounds in Recents and removing all clipping logic; - returning early in TaskStackView when it wants to clip TaskViews. Change-Id: I52819a828f84ce42fc8a63085e15a8264000d271
36 lines
1.4 KiB
XML
36 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<com.android.systemui.recents.views.TaskView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:focusable="true">
|
|
<com.android.systemui.recents.views.TaskViewThumbnail
|
|
android:id="@+id/task_view_thumbnail"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<include layout="@layout/recents_task_view_header" />
|
|
|
|
<!-- TODO: Move this into a view stub -->
|
|
<include layout="@layout/recents_task_view_lock_to_app"/>
|
|
|
|
<!-- The incompatible app toast -->
|
|
<include layout="@layout/recents_task_view_incompatible_app_toast"/>
|
|
</com.android.systemui.recents.views.TaskView>
|
|
|
|
|