Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Peter Schiller | b124d56 | 2015-12-11 21:31:17 -0800 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2014 The Android Open Source Project |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
Peter Schiller | b124d56 | 2015-12-11 21:31:17 -0800 | [diff] [blame] | 8 | |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 9 | http://www.apache.org/licenses/LICENSE-2.0 |
Peter Schiller | b124d56 | 2015-12-11 21:31:17 -0800 | [diff] [blame] | 10 | |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | <com.android.systemui.recents.views.TaskViewHeader |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/task_view_bar" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="@dimen/recents_task_bar_height" |
| 22 | android:layout_gravity="top|center_horizontal"> |
| 23 | <com.android.systemui.recents.views.FixedSizeImageView |
Winson Chung | 296278a | 2015-12-17 12:09:02 -0500 | [diff] [blame] | 24 | android:id="@+id/icon" |
Vadim Tryshev | c1a6c65 | 2015-06-04 08:57:56 -0700 | [diff] [blame] | 25 | android:contentDescription="@string/recents_app_info_button_label" |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 26 | android:layout_width="@dimen/recents_task_view_application_icon_size" |
| 27 | android:layout_height="@dimen/recents_task_view_application_icon_size" |
| 28 | android:layout_marginStart="8dp" |
| 29 | android:layout_gravity="center_vertical|start" |
| 30 | android:padding="8dp" |
| 31 | android:background="@drawable/recents_button_bg" /> |
| 32 | <TextView |
Winson Chung | 296278a | 2015-12-17 12:09:02 -0500 | [diff] [blame] | 33 | android:id="@+id/title" |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
| 36 | android:layout_gravity="center_vertical|start" |
| 37 | android:layout_marginStart="64dp" |
Winson Chung | 48f2cda | 2015-12-11 13:20:12 -0500 | [diff] [blame] | 38 | android:layout_marginEnd="112dp" |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 39 | android:textSize="16sp" |
| 40 | android:textColor="#ffffffff" |
| 41 | android:text="@string/recents_empty_message" |
| 42 | android:fontFamily="sans-serif-medium" |
| 43 | android:singleLine="true" |
| 44 | android:maxLines="2" |
| 45 | android:ellipsize="marquee" |
| 46 | android:fadingEdge="horizontal" /> |
| 47 | <com.android.systemui.recents.views.FixedSizeImageView |
Winson Chung | d16c565 | 2015-01-26 16:11:07 -0800 | [diff] [blame] | 48 | android:id="@+id/move_task" |
| 49 | android:layout_width="48dp" |
| 50 | android:layout_height="48dp" |
| 51 | android:layout_marginEnd="52dp" |
| 52 | android:layout_gravity="center_vertical|end" |
| 53 | android:padding="12dp" |
| 54 | android:background="@drawable/recents_button_bg" |
| 55 | android:src="@drawable/star" |
| 56 | android:visibility="gone" /> |
| 57 | <com.android.systemui.recents.views.FixedSizeImageView |
Winson Chung | a4ccb86 | 2014-08-22 15:26:27 -0700 | [diff] [blame] | 58 | android:id="@+id/dismiss_task" |
| 59 | android:layout_width="48dp" |
| 60 | android:layout_height="48dp" |
| 61 | android:layout_marginEnd="4dp" |
| 62 | android:layout_gravity="center_vertical|end" |
| 63 | android:padding="12dp" |
| 64 | android:background="@drawable/recents_button_bg" |
| 65 | android:visibility="invisible" |
| 66 | android:src="@drawable/recents_dismiss_light" /> |
Peter Schiller | b124d56 | 2015-12-11 21:31:17 -0800 | [diff] [blame] | 67 | <ProgressBar |
| 68 | android:id="@+id/focus_timer_indicator" |
| 69 | style="?android:attr/progressBarStyleHorizontal" |
| 70 | android:layout_width="match_parent" |
| 71 | android:layout_height="5dp" |
| 72 | android:layout_gravity="bottom" |
| 73 | android:indeterminateOnly="false" |
| 74 | android:visibility="invisible" /> |
Stefan Kuhne | 61b47bb | 2015-07-28 14:04:25 -0700 | [diff] [blame] | 75 | </com.android.systemui.recents.views.TaskViewHeader> |