blob: d61a8952a73a7920d4d3249808317e154374b6fd [file] [log] [blame]
Tony Wickhamf26e90a2020-12-22 12:40:09 -06001<?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 Goyal55845132021-05-21 14:41:30 -070016<com.android.launcher3.taskbar.TaskbarDragLayer
Tony Wickhamf26e90a2020-12-22 12:40:09 -060017 xmlns:android="http://schemas.android.com/apk/res/android"
18 android:id="@+id/taskbar_container"
19 android:layout_width="wrap_content"
Sunny Goyal57b22792021-05-25 14:35:01 -070020 android:layout_height="wrap_content"
21 android:clipChildren="false">
Tony Wickhamf26e90a2020-12-22 12:40:09 -060022
23 <com.android.launcher3.taskbar.TaskbarView
24 android:id="@+id/taskbar_view"
Sunny Goyald5500542021-05-20 20:18:47 +000025 android:layout_width="match_parent"
Tony Wickhamf26e90a2020-12-22 12:40:09 -060026 android:layout_height="wrap_content"
Sunny Goyald5500542021-05-20 20:18:47 +000027 android:gravity="center"
28 android:forceHasOverlappingRendering="false"
Sunny Goyal57b22792021-05-25 14:35:01 -070029 android:layout_gravity="bottom"
30 android:clipChildren="false" />
31
32 <FrameLayout
33 android:id="@+id/navbuttons_view"
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
Sunny Goyald5500542021-05-20 20:18:47 +000036 android:layout_gravity="bottom" >
37
38 <LinearLayout
Sunny Goyal57b22792021-05-25 14:35:01 -070039 android:id="@+id/start_nav_buttons"
Sunny Goyald5500542021-05-20 20:18:47 +000040 android:layout_width="wrap_content"
Sunny Goyal57b22792021-05-25 14:35:01 -070041 android:layout_height="match_parent"
Sunny Goyald5500542021-05-20 20:18:47 +000042 android:paddingLeft="@dimen/taskbar_nav_buttons_spacing"
43 android:paddingRight="@dimen/taskbar_nav_buttons_spacing"
Sunny Goyal57b22792021-05-25 14:35:01 -070044 android:gravity="center_vertical"
45 android:layout_gravity="start"/>
Sunny Goyald5500542021-05-20 20:18:47 +000046
Sunny Goyal57b22792021-05-25 14:35:01 -070047 <FrameLayout
48 android:id="@+id/end_nav_buttons"
Sunny Goyald5500542021-05-20 20:18:47 +000049 android:layout_width="wrap_content"
Sunny Goyal57b22792021-05-25 14:35:01 -070050 android:layout_height="match_parent"
Vinit Nayak91dca0f2021-05-25 19:26:48 -070051 android:paddingLeft="@dimen/taskbar_nav_buttons_spacing"
52 android:paddingRight="@dimen/taskbar_nav_buttons_spacing"
Sunny Goyal57b22792021-05-25 14:35:01 -070053 android:gravity="center_vertical"
54 android:layout_gravity="end"/>
55 </FrameLayout>
Vinit Nayak673faf52021-04-16 12:50:22 -070056
Sunny Goyal55845132021-05-21 14:41:30 -070057</com.android.launcher3.taskbar.TaskbarDragLayer>