blob: c813818ed56882b44055343b3a969a5426694a9f [file] [log] [blame]
Winson Chung37c8d8e2014-03-24 14:53:07 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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<com.android.systemui.recents.views.TaskView
17 xmlns:android="http://schemas.android.com/apk/res/android"
Selim Cineke8199c52014-09-17 04:03:52 +020018 android:layout_width="match_parent"
Winson Chung1e8d71b2014-05-16 17:05:22 -070019 android:layout_height="match_parent"
Selim Cineke8199c52014-09-17 04:03:52 +020020 android:focusable="true">
Winson Chung2915b9d2014-07-28 11:01:57 -070021 <FrameLayout
Winson Chungbf5dbf12014-09-16 00:58:25 +020022 android:id="@+id/task_view_content"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent">
25 <com.android.systemui.recents.views.TaskViewThumbnail
26 android:id="@+id/task_view_thumbnail"
27 android:layout_width="match_parent"
28 android:layout_height="match_parent" />
29 <include layout="@layout/recents_task_view_header" />
Jorim Jaggi88f3db92015-06-02 16:29:40 -070030 <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
Winson Chungbf5dbf12014-09-16 00:58:25 +020031 android:id="@+id/lock_to_app_fab"
Winson Chungc041d882014-11-14 17:34:03 -080032 android:layout_width="@dimen/recents_lock_to_app_size"
33 android:layout_height="@dimen/recents_lock_to_app_size"
Winson Chungbf5dbf12014-09-16 00:58:25 +020034 android:layout_gravity="bottom|right"
35 android:layout_marginRight="15dp"
36 android:layout_marginBottom="15dp"
Winson Chung931c51f2015-12-17 17:08:55 -050037 android:translationZ="4dp"
Winson Chungbf5dbf12014-09-16 00:58:25 +020038 android:contentDescription="@string/recents_lock_to_app_button_label"
Winson Chung931c51f2015-12-17 17:08:55 -050039 android:background="@drawable/recents_lock_to_task_button_bg"
Winson6ea25882016-01-13 10:59:04 -080040 android:visibility="invisible"
41 android:alpha="0">
Winson Chungbf5dbf12014-09-16 00:58:25 +020042 <ImageView
Winson Chungc041d882014-11-14 17:34:03 -080043 android:layout_width="@dimen/recents_lock_to_app_icon_size"
44 android:layout_height="@dimen/recents_lock_to_app_icon_size"
Winson Chungbf5dbf12014-09-16 00:58:25 +020045 android:layout_gravity="center"
46 android:src="@drawable/recents_lock_to_app_pin" />
Jorim Jaggi88f3db92015-06-02 16:29:40 -070047 </com.android.systemui.statusbar.AlphaOptimizedFrameLayout>
Winson Chung2915b9d2014-07-28 11:01:57 -070048 </FrameLayout>
Winson Chung37c8d8e2014-03-24 14:53:07 -070049</com.android.systemui.recents.views.TaskView>
50
51