68 lines
3.0 KiB
XML
68 lines
3.0 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.TaskThumbnailView
|
|
android:id="@+id/task_view_thumbnail"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
<com.android.systemui.recents.views.TaskBarView
|
|
android:id="@+id/task_view_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="56dp"
|
|
android:layout_gravity="top|center_horizontal"
|
|
android:background="@color/recents_task_bar_default_background_color">
|
|
<ImageView
|
|
android:id="@+id/application_icon"
|
|
android:layout_width="@dimen/recents_task_view_application_icon_size"
|
|
android:layout_height="@dimen/recents_task_view_application_icon_size"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_gravity="center_vertical|start"
|
|
android:padding="8dp"
|
|
android:background="@drawable/recents_button_bg" />
|
|
<TextView
|
|
android:id="@+id/activity_description"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical|start"
|
|
android:layout_marginStart="64dp"
|
|
android:layout_marginEnd="64dp"
|
|
android:textSize="16sp"
|
|
android:textColor="#ffffffff"
|
|
android:text="@string/recents_empty_message"
|
|
android:fontFamily="sans-serif-medium"
|
|
android:singleLine="true"
|
|
android:maxLines="2"
|
|
android:ellipsize="marquee"
|
|
android:fadingEdge="horizontal" />
|
|
<ImageView
|
|
android:id="@+id/dismiss_task"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:layout_gravity="center_vertical|end"
|
|
android:padding="18dp"
|
|
android:background="@drawable/recents_button_bg"
|
|
android:visibility="invisible"
|
|
android:src="@drawable/recents_dismiss_light" />
|
|
</com.android.systemui.recents.views.TaskBarView>
|
|
</com.android.systemui.recents.views.TaskView>
|
|
|
|
|