Merge "Fix issue with floating rotation button being in the wrong corner (launcher)" into tm-qpr-dev am: 0cf4c14fe0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21118628

Change-Id: I70d1c6aeafe79ae26fae148becb5455d9d7c68fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Winson Chung
2023-01-30 18:42:12 +00:00
committed by Automerger Merge Worker
2 changed files with 5 additions and 1 deletions

View File

@@ -299,7 +299,8 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT
R.dimen.floating_rotation_button_taskbar_left_margin,
R.dimen.floating_rotation_button_taskbar_bottom_margin,
R.dimen.floating_rotation_button_diameter,
R.dimen.key_button_ripple_max_width);
R.dimen.key_button_ripple_max_width,
R.bool.floating_rotation_button_position_left);
mControllers.rotationButtonController.setRotationButton(mFloatingRotationButton,
mRotationButtonListener);

View File

@@ -203,4 +203,7 @@
<!-- The max scale for the wallpaper when it's zoomed in -->
<item name="config_wallpaperMaxScale" format="float" type="dimen">0</item>
<!-- Whether the floating rotation button should be on the left/right in the device's natural
orientation -->
<bool name="floating_rotation_button_position_left">true</bool>
</resources>