Tony Wickham | f26e90a | 2020-12-22 12:40:09 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2021 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 | --> |
Sunny Goyal | 5584513 | 2021-05-21 14:41:30 -0700 | [diff] [blame] | 16 | <com.android.launcher3.taskbar.TaskbarDragLayer |
Tony Wickham | f26e90a | 2020-12-22 12:40:09 -0600 | [diff] [blame] | 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Tony Wickham | 3fd2284 | 2021-06-01 16:54:07 -0700 | [diff] [blame] | 18 | xmlns:tools="http://schemas.android.com/tools" |
Tony Wickham | f26e90a | 2020-12-22 12:40:09 -0600 | [diff] [blame] | 19 | android:id="@+id/taskbar_container" |
| 20 | android:layout_width="wrap_content" |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 21 | android:layout_height="wrap_content" |
| 22 | android:clipChildren="false"> |
Tony Wickham | f26e90a | 2020-12-22 12:40:09 -0600 | [diff] [blame] | 23 | |
| 24 | <com.android.launcher3.taskbar.TaskbarView |
| 25 | android:id="@+id/taskbar_view" |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 26 | android:layout_width="match_parent" |
Tony Wickham | f26e90a | 2020-12-22 12:40:09 -0600 | [diff] [blame] | 27 | android:layout_height="wrap_content" |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 28 | android:gravity="center" |
| 29 | android:forceHasOverlappingRendering="false" |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 30 | android:layout_gravity="bottom" |
| 31 | android:clipChildren="false" /> |
| 32 | |
Mady Mellor | 5fdf2d0 | 2021-09-24 10:48:01 -0700 | [diff] [blame] | 33 | <com.android.launcher3.taskbar.TaskbarScrimView |
| 34 | android:id="@+id/taskbar_scrim" |
| 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="match_parent"/> |
| 37 | |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 38 | <FrameLayout |
| 39 | android:id="@+id/navbuttons_view" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="wrap_content" |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 42 | android:layout_gravity="bottom" > |
| 43 | |
Vinit Nayak | 8dcbde8 | 2021-07-19 12:53:28 -0700 | [diff] [blame] | 44 | <FrameLayout |
| 45 | android:id="@+id/start_contextual_buttons" |
| 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="match_parent" |
| 48 | android:paddingLeft="@dimen/taskbar_nav_buttons_spacing" |
| 49 | android:paddingRight="@dimen/taskbar_nav_buttons_spacing" |
Vinit Nayak | 74b25ca | 2021-10-12 21:41:13 -0700 | [diff] [blame] | 50 | android:paddingTop="@dimen/taskbar_contextual_padding_top" |
Vinit Nayak | 8dcbde8 | 2021-07-19 12:53:28 -0700 | [diff] [blame] | 51 | android:gravity="center_vertical" |
| 52 | android:layout_gravity="start"/> |
| 53 | |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 54 | <LinearLayout |
Vinit Nayak | 8dcbde8 | 2021-07-19 12:53:28 -0700 | [diff] [blame] | 55 | android:id="@+id/end_nav_buttons" |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 56 | android:layout_width="wrap_content" |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 57 | android:layout_height="match_parent" |
Tony Wickham | 3fd2284 | 2021-06-01 16:54:07 -0700 | [diff] [blame] | 58 | android:orientation="horizontal" |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 59 | android:paddingLeft="@dimen/taskbar_nav_buttons_spacing" |
| 60 | android:paddingRight="@dimen/taskbar_nav_buttons_spacing" |
Vinit Nayak | 7f4f499 | 2021-09-07 14:39:45 -0700 | [diff] [blame] | 61 | android:layout_marginEnd="@dimen/taskbar_contextual_button_margin" |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 62 | android:gravity="center_vertical" |
Vinit Nayak | 8dcbde8 | 2021-07-19 12:53:28 -0700 | [diff] [blame] | 63 | android:layout_gravity="end"/> |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 64 | |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 65 | <FrameLayout |
Vinit Nayak | 8dcbde8 | 2021-07-19 12:53:28 -0700 | [diff] [blame] | 66 | android:id="@+id/end_contextual_buttons" |
Sunny Goyal | d550054 | 2021-05-20 20:18:47 +0000 | [diff] [blame] | 67 | android:layout_width="wrap_content" |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 68 | android:layout_height="match_parent" |
Vinit Nayak | 91dca0f | 2021-05-25 19:26:48 -0700 | [diff] [blame] | 69 | android:paddingLeft="@dimen/taskbar_nav_buttons_spacing" |
| 70 | android:paddingRight="@dimen/taskbar_nav_buttons_spacing" |
Vinit Nayak | 74b25ca | 2021-10-12 21:41:13 -0700 | [diff] [blame] | 71 | android:paddingTop="@dimen/taskbar_contextual_padding_top" |
Sunny Goyal | 57b2279 | 2021-05-25 14:35:01 -0700 | [diff] [blame] | 72 | android:gravity="center_vertical" |
| 73 | android:layout_gravity="end"/> |
| 74 | </FrameLayout> |
Vinit Nayak | 673faf5 | 2021-04-16 12:50:22 -0700 | [diff] [blame] | 75 | |
Tracy Zhou | 334cae4 | 2021-08-17 16:07:22 -0700 | [diff] [blame] | 76 | <com.android.launcher3.taskbar.StashedHandleView |
Tony Wickham | 3fd2284 | 2021-06-01 16:54:07 -0700 | [diff] [blame] | 77 | android:id="@+id/stashed_handle" |
| 78 | tools:comment1="The actual size and shape will be set as a ViewOutlineProvider at runtime" |
| 79 | android:layout_width="match_parent" |
| 80 | android:layout_height="wrap_content" |
Tracy Zhou | 334cae4 | 2021-08-17 16:07:22 -0700 | [diff] [blame] | 81 | android:background="@color/taskbar_stashed_handle_dark_color" |
Tony Wickham | 3fd2284 | 2021-06-01 16:54:07 -0700 | [diff] [blame] | 82 | android:clipToOutline="true" |
| 83 | android:layout_gravity="bottom"/> |
| 84 | |
Sunny Goyal | 5584513 | 2021-05-21 14:41:30 -0700 | [diff] [blame] | 85 | </com.android.launcher3.taskbar.TaskbarDragLayer> |