mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
- Make AllApps bottom sheet solid and appears from bottom - Teleport AllApps bottom sheet as user drag to reduce drag range - Consider teleport interpolation for state transition sdetection - Tuned workspace motions for AllApps bottom sheet (no translate, shrink) - Add portrait vertical translate for tablet portrait including taskbar AllApps - Updated bottom sheet handle and created common variables for other bottom sheets Bug: 208599118 Test: manual on tablet AllApps, taskbar Allapps and handheld AllApps Change-Id: I69dba5f155914cd012cc8ef3be1ef71fb2be5a40
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2022 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.
|
|
-->
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/bottom_sheet_background"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/bg_rounded_corner_bottom_sheet">
|
|
|
|
<View
|
|
android:id="@+id/bottom_sheet_handle_area"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="36dp" />
|
|
|
|
<View
|
|
android:id="@+id/bottom_sheet_handle"
|
|
android:layout_width="@dimen/bottom_sheet_handle_width"
|
|
android:layout_height="@dimen/bottom_sheet_handle_height"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginTop="@dimen/bottom_sheet_handle_margin"
|
|
android:layout_marginBottom="@dimen/bottom_sheet_handle_margin"
|
|
android:background="@drawable/bg_rounded_corner_bottom_sheet_handle" />
|
|
</FrameLayout>
|