2024-05-07 17:03:35 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
|
|
|
|
Copyright (C) 2024 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.
|
|
|
|
|
-->
|
2024-07-10 18:50:42 +00:00
|
|
|
<com.android.quickstep.task.thumbnail.TaskThumbnailView
|
2024-05-07 17:03:35 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2024-09-24 13:54:19 +00:00
|
|
|
android:id="@+id/snapshot"
|
2025-05-07 11:08:22 +00:00
|
|
|
android:background="@android:color/black"
|
2024-05-07 17:03:35 +01:00
|
|
|
android:layout_width="match_parent"
|
2025-03-21 14:21:02 +00:00
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1" >
|
2024-07-10 18:50:42 +00:00
|
|
|
|
2024-08-21 15:45:05 +00:00
|
|
|
<com.android.quickstep.views.FixedSizeImageView
|
2024-07-10 18:50:42 +00:00
|
|
|
android:id="@+id/task_thumbnail"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:importantForAccessibility="no"
|
2024-07-15 17:50:55 +01:00
|
|
|
android:scaleType="matrix"
|
2024-08-21 15:45:05 +00:00
|
|
|
android:visibility="invisible"/>
|
2024-07-10 18:50:42 +00:00
|
|
|
|
|
|
|
|
<com.android.quickstep.task.thumbnail.LiveTileView
|
|
|
|
|
android:id="@+id/task_thumbnail_live_tile"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2024-08-21 15:45:05 +00:00
|
|
|
android:visibility="invisible"/>
|
2024-07-10 18:50:42 +00:00
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/task_thumbnail_scrim"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/overview_foreground_scrim_color"
|
|
|
|
|
android:alpha="0" />
|
|
|
|
|
|
2024-08-20 10:08:05 +00:00
|
|
|
<View
|
|
|
|
|
android:id="@+id/splash_background"
|
2024-07-24 15:02:14 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
2024-08-21 15:45:05 +00:00
|
|
|
android:background="@android:color/black"
|
2024-08-20 10:08:05 +00:00
|
|
|
android:alpha="0"
|
|
|
|
|
android:importantForAccessibility="no" />
|
|
|
|
|
|
2024-08-21 15:45:05 +00:00
|
|
|
<com.android.quickstep.views.FixedSizeImageView
|
2024-08-20 10:08:05 +00:00
|
|
|
android:id="@+id/splash_icon"
|
|
|
|
|
android:layout_width="@dimen/task_thumbnail_splash_icon_size"
|
|
|
|
|
android:layout_height="@dimen/task_thumbnail_splash_icon_size"
|
2024-12-02 11:00:51 +00:00
|
|
|
android:layout_gravity="center"
|
2024-08-20 10:08:05 +00:00
|
|
|
android:scaleType="fitCenter"
|
|
|
|
|
android:alpha="0"
|
|
|
|
|
android:importantForAccessibility="no" />
|
2024-07-10 18:50:42 +00:00
|
|
|
</com.android.quickstep.task.thumbnail.TaskThumbnailView>
|