mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-17 17:48:20 +00:00
When a bubble drag starts, shell sends the current expanded view size over as part of BubbleBarData. Update the size stored in BubblePinController based on latest value. Update drop target visual to match the spec. It should have 24dp insets compared to expanded view and 28dp corner radius. Bug: 330585402 Test: drag bubble in landscape, check that drop target for expanded view matches with what is shown when expanded view is dragged Test: drag bubble in portrait, check that the drop target for expanded view, matches with what is shown when expanded view is dragged Flag: ACONFIG com.android.wm.shell.enable_bubble_bar DEVELOPMENT Change-Id: Ic11c4c5c675107543ba08f24a4138cda422d24c1
23 lines
1.1 KiB
XML
23 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright (C) 2024 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.
|
|
-->
|
|
|
|
<!-- TODO(b/330585402): replace 600dp height with calculated value -->
|
|
<View xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="@dimen/bubble_expanded_view_drop_target_default_width"
|
|
android:layout_height="@dimen/bubble_expanded_view_drop_target_default_height"
|
|
android:layout_margin="@dimen/bubble_expanded_view_drop_target_margin"
|
|
android:background="@drawable/bg_bubble_expanded_view_drop_target"
|
|
android:elevation="@dimen/bubblebar_elevation" /> |