Winson Chung | 37c8d8e | 2014-03-24 14:53:07 -0700 | [diff] [blame] | 1 | <?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 Cinek | e8199c5 | 2014-09-17 04:03:52 +0200 | [diff] [blame] | 18 | android:layout_width="match_parent" |
Winson Chung | 1e8d71b | 2014-05-16 17:05:22 -0700 | [diff] [blame] | 19 | android:layout_height="match_parent" |
Selim Cinek | e8199c5 | 2014-09-17 04:03:52 +0200 | [diff] [blame] | 20 | android:focusable="true"> |
Winson Chung | 2915b9d | 2014-07-28 11:01:57 -0700 | [diff] [blame] | 21 | <FrameLayout |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 22 | 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 Jaggi | 88f3db9 | 2015-06-02 16:29:40 -0700 | [diff] [blame] | 30 | <com.android.systemui.statusbar.AlphaOptimizedFrameLayout |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 31 | android:id="@+id/lock_to_app_fab" |
Winson Chung | c041d88 | 2014-11-14 17:34:03 -0800 | [diff] [blame] | 32 | android:layout_width="@dimen/recents_lock_to_app_size" |
| 33 | android:layout_height="@dimen/recents_lock_to_app_size" |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 34 | android:layout_gravity="bottom|right" |
| 35 | android:layout_marginRight="15dp" |
| 36 | android:layout_marginBottom="15dp" |
Winson Chung | 931c51f | 2015-12-17 17:08:55 -0500 | [diff] [blame] | 37 | android:translationZ="4dp" |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 38 | android:contentDescription="@string/recents_lock_to_app_button_label" |
Winson Chung | 931c51f | 2015-12-17 17:08:55 -0500 | [diff] [blame] | 39 | android:background="@drawable/recents_lock_to_task_button_bg" |
Winson | 6ea2588 | 2016-01-13 10:59:04 -0800 | [diff] [blame] | 40 | android:visibility="invisible" |
| 41 | android:alpha="0"> |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 42 | <ImageView |
Winson Chung | c041d88 | 2014-11-14 17:34:03 -0800 | [diff] [blame] | 43 | android:layout_width="@dimen/recents_lock_to_app_icon_size" |
| 44 | android:layout_height="@dimen/recents_lock_to_app_icon_size" |
Winson Chung | bf5dbf1 | 2014-09-16 00:58:25 +0200 | [diff] [blame] | 45 | android:layout_gravity="center" |
| 46 | android:src="@drawable/recents_lock_to_app_pin" /> |
Jorim Jaggi | 88f3db9 | 2015-06-02 16:29:40 -0700 | [diff] [blame] | 47 | </com.android.systemui.statusbar.AlphaOptimizedFrameLayout> |
Winson Chung | 2915b9d | 2014-07-28 11:01:57 -0700 | [diff] [blame] | 48 | </FrameLayout> |
Winson Chung | 37c8d8e | 2014-03-24 14:53:07 -0700 | [diff] [blame] | 49 | </com.android.systemui.recents.views.TaskView> |
| 50 | |
| 51 | |