mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
Adjusts the positioning logic for the task menu when displayed for tasks on the bottom row of the grid. The changes ensure the menu is visible and does not overlap with other UI elements, such as the taskbar. It defines min and max bounds of the menu when it's opened on bottom row. It also moves the menu on top of the taskbar. A follow-up CL will manage the max height to make the bottom row menu scrollable. Fix: 322953749 Bug: 326952853 Flag: com.android.launcher3.enable_overview_icon_menu Test: OverviewMenuImageTest Change-Id: I44fb70d8537c0b52af4314e818d02ccfcd35d8d3
22 lines
878 B
XML
22 lines
878 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<solid android:color="@color/materialColorSurfaceBright"/>
|
|
<corners android:radius="@dimen/task_menu_corner_radius"/>
|
|
</shape>
|