Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69066115 authored by Pat Manning's avatar Pat Manning Committed by Android (Google) Code Review
Browse files

Merge "Adjust edit state drop targets and workspace scaling per device type...

Merge "Adjust edit state drop targets and workspace scaling per device type and orientation." into tm-dev
parents f5f589ad de25c0db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,6 +17,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <solid android:color="@android:color/transparent" />
    <corners android:radius="28dp" />
    <corners android:radius="80dp" />
    <stroke android:width="2dp" android:color="?attr/workspaceAccentColor" />
</shape>
 No newline at end of file
+9 −0
Original line number Diff line number Diff line
@@ -23,7 +23,16 @@

    <!-- Dynamic grid -->
    <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen>
    <dimen name="dynamic_grid_drop_target_size">36dp</dimen>

    <!-- Hotseat -->
    <dimen name="dynamic_grid_hotseat_side_padding">16dp</dimen>
    <dimen name="spring_loaded_hotseat_top_margin">45dp</dimen>

    <!-- Dragging -->
    <dimen name="drop_target_button_gap">28dp</dimen>
    <dimen name="drop_target_button_drawable_horizontal_padding">16dp</dimen>
    <dimen name="drop_target_button_drawable_vertical_padding">2dp</dimen>
    <dimen name="drop_target_top_margin">6dp</dimen>
    <dimen name="drop_target_bottom_margin">6dp</dimen>
</resources>
+25 −0
Original line number Diff line number Diff line
<?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.
  -->

<resources>
    <!-- Hotseat -->
    <dimen name="spring_loaded_hotseat_top_margin">44dp</dimen>

    <!-- Dragging -->
    <dimen name="drop_target_top_margin">0dp</dimen>
    <dimen name="drop_target_bottom_margin">16dp</dimen>
</resources>
+8 −0
Original line number Diff line number Diff line
@@ -36,4 +36,12 @@

<!-- Hotseat -->
    <dimen name="dynamic_grid_hotseat_side_padding">0dp</dimen>
    <dimen name="spring_loaded_hotseat_top_margin">97dp</dimen>

<!-- Dragging -->
    <dimen name="drop_target_top_margin">34dp</dimen>
    <dimen name="drop_target_bottom_margin">16dp</dimen>
    <dimen name="drop_target_button_drawable_horizontal_padding">16dp</dimen>
    <dimen name="drop_target_button_drawable_vertical_padding">16dp</dimen>
    <dimen name="dynamic_grid_drop_target_size">56dp</dimen>
</resources>
+9 −2
Original line number Diff line number Diff line
@@ -15,6 +15,13 @@
-->

<resources>
<!-- Dragging-->
    <dimen name="drop_target_top_margin">0dp</dimen>
    <dimen name="drop_target_bottom_margin">32dp</dimen>

<!-- Hotseat -->
    <dimen name="spring_loaded_hotseat_top_margin">64dp</dimen>

<!-- Widget picker-->
    <dimen name="widget_list_horizontal_margin">49dp</dimen>

Loading