mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Merge "Fix small bug with Overview action button placement" into tm-qpr-dev am: e174143358
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19292689 Change-Id: I4be792a4cf0e886fb2575ed1990216e9b0f8ac0c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -204,7 +204,11 @@ public class OverviewActionsView<T extends OverlayUICallbacks> extends FrameLayo
|
||||
if (mDp == null) {
|
||||
return;
|
||||
}
|
||||
if (mDp.areNavButtonsInline) {
|
||||
boolean largeScreenLandscape = mDp.isTablet && !mDp.isTwoPanels && mDp.isLandscape;
|
||||
// If in 3-button mode, shift action buttons to accommodate 3-button layout.
|
||||
// (Special exception for landscape tablets, where there is enough room and we don't need to
|
||||
// shift the action buttons.)
|
||||
if (mDp.areNavButtonsInline && !largeScreenLandscape) {
|
||||
// Add extra horizontal spacing
|
||||
int additionalPadding = mDp.hotseatBarEndOffset;
|
||||
if (isLayoutRtl()) {
|
||||
|
||||
Reference in New Issue
Block a user