diff --git a/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.kt b/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.kt index 18836492b6..74ae688bd7 100644 --- a/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.kt +++ b/quickstep/src/com/android/quickstep/orientation/PortraitPagedViewHandler.kt @@ -726,7 +726,11 @@ class PortraitPagedViewHandler : DefaultPagedViewHandler(), RecentsPagedOrientat val secondarySnapshotWidth = groupedTaskViewWidth - primarySnapshotWidth primaryAppChipView.setSplitTranslationX(-secondarySnapshotWidth.toFloat()) } else { - secondaryAppChipView.setSplitTranslationX(primarySnapshotWidth.toFloat()) + val dividerSize = + Math.round(groupedTaskViewWidth * splitConfig.dividerPercent) + secondaryAppChipView.setSplitTranslationX( + primarySnapshotWidth.toFloat() + dividerSize + ) } } else { primaryAppChipView.setSplitTranslationX(0f)