Loading res/values/dimens.xml +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ <dimen name="min_qsb_margin">8dp</dimen> <!-- Workspace page indicator --> <dimen name="workspace_page_indicator_height">24dp</dimen> <dimen name="workspace_page_indicator_height">32dp</dimen> <dimen name="workspace_page_indicator_line_height">1dp</dimen> <dimen name="workspace_page_indicator_overlap_workspace">0dp</dimen> Loading src/com/android/launcher3/Hotseat.java +9 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ import android.view.ViewDebug; import android.view.ViewGroup; import android.widget.FrameLayout; import com.android.launcher3.folder.Folder; import com.android.launcher3.util.NavigationMode; import com.android.launcher3.util.window.WindowManagerProxy; import androidx.annotation.IntDef; Loading Loading @@ -221,6 +223,8 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { public void setInsets(Rect insets) { FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) getLayoutParams(); DeviceProfile grid = mActivity.getDeviceProfile(); WindowManagerProxy wm = WindowManagerProxy.newInstance(getContext()); boolean isFullyGesture = wm.getNavigationMode(getContext()) == NavigationMode.NO_BUTTON; if (grid.isVerticalBarLayout()) { mQsb.setVisibility(View.GONE); Loading @@ -236,7 +240,11 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { mQsb.setVisibility(View.VISIBLE); lp.gravity = Gravity.BOTTOM; lp.width = ViewGroup.LayoutParams.MATCH_PARENT; if (isFullyGesture) { lp.height = grid.hotseatBarSizePx; } else { lp.height = grid.hotseatBarSizePx + 24; } } Rect padding = grid.getHotseatLayoutPadding(getContext()); Loading Loading
res/values/dimens.xml +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ <dimen name="min_qsb_margin">8dp</dimen> <!-- Workspace page indicator --> <dimen name="workspace_page_indicator_height">24dp</dimen> <dimen name="workspace_page_indicator_height">32dp</dimen> <dimen name="workspace_page_indicator_line_height">1dp</dimen> <dimen name="workspace_page_indicator_overlap_workspace">0dp</dimen> Loading
src/com/android/launcher3/Hotseat.java +9 −1 Original line number Diff line number Diff line Loading @@ -34,6 +34,8 @@ import android.view.ViewDebug; import android.view.ViewGroup; import android.widget.FrameLayout; import com.android.launcher3.folder.Folder; import com.android.launcher3.util.NavigationMode; import com.android.launcher3.util.window.WindowManagerProxy; import androidx.annotation.IntDef; Loading Loading @@ -221,6 +223,8 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { public void setInsets(Rect insets) { FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) getLayoutParams(); DeviceProfile grid = mActivity.getDeviceProfile(); WindowManagerProxy wm = WindowManagerProxy.newInstance(getContext()); boolean isFullyGesture = wm.getNavigationMode(getContext()) == NavigationMode.NO_BUTTON; if (grid.isVerticalBarLayout()) { mQsb.setVisibility(View.GONE); Loading @@ -236,7 +240,11 @@ public class Hotseat extends CellLayout implements Insettable, OffsetParent { mQsb.setVisibility(View.VISIBLE); lp.gravity = Gravity.BOTTOM; lp.width = ViewGroup.LayoutParams.MATCH_PARENT; if (isFullyGesture) { lp.height = grid.hotseatBarSizePx; } else { lp.height = grid.hotseatBarSizePx + 24; } } Rect padding = grid.getHotseatLayoutPadding(getContext()); Loading