1<?xml version="1.0" encoding="utf-8"?><!-- 2 Copyright (C) 2017 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<!-- NOTE! don't add dimensions for margins / paddings / sizes that change per orientation to this 17 file, they need to be loaded at runtime. --> 18<com.android.quickstep.views.TaskView 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" 21 xmlns:launcher="http://schemas.android.com/apk/res-auto" 22 android:id="@+id/task" 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:clipChildren="false" 26 android:defaultFocusHighlightEnabled="false" 27 android:focusable="true" 28 launcher:focusBorderColor="?androidprv:attr/materialColorOutline" 29 launcher:hoverBorderColor="?androidprv:attr/materialColorPrimary"> 30 31 <include layout="@layout/task_thumbnail" /> 32 33 <!-- Filtering affects only alpha instead of the visibility since visibility can be altered 34 separately through RecentsView#resetFromSplitSelectionState() --> 35 <ImageView 36 android:id="@+id/show_windows" 37 android:layout_height="@dimen/recents_filter_icon_size" 38 android:layout_width="@dimen/recents_filter_icon_size" 39 android:layout_gravity="end" 40 android:alpha="0" 41 android:tint="@color/recents_filter_icon" 42 android:importantForAccessibility="no" 43 android:src="@drawable/ic_select_windows" /> 44 45 <ViewStub 46 android:id="@+id/icon" 47 android:inflatedId="@id/icon" 48 android:layout_height="wrap_content" 49 android:layout_width="wrap_content" /> 50</com.android.quickstep.views.TaskView>