x-JOC f83fbb0226 fix(widgets): let the resize frame reach the screen edge horizontally (#7387)
* fix(widgets): let the resize frame reach the screen edge horizontally

The resize frame is drawn resize_frame_background_padding (24dp) outside
the widget, but the horizontal drag range clamped the frame's outer edge
to the DragLayer. When the grid sits close to the screen edge (low
workspace/widget padding, many columns) the last column could not be
reached.

When the frame already overhung the screen edge (gap + widget padding
< 24dp, which is the default), the old range did not contain 0 (left
start positive, right end negative), so the first move event snapped the
frame up to 24dp inward on either side. With half-cell resize steps that
would be enough to drop a step.

Bound the widget's edge instead of the frame's, and keep 0 inside the
range so a touch without movement never moves the frame. The vertical
range is unchanged.

* fix(widgets): count the last partial resize step when the finger hits the edge

The finger cannot travel past the screen edge, and the handle can be
grabbed up to 24dp outside the widget. With little workspace/widget
padding, the travel left for the last column can then be shorter than
RESIZE_THRESHOLD of a step.

While a left/right handle is dragged and the finger is within
resize_frame_background_padding of that screen edge, a partial step of
more than 1 - RESIZE_THRESHOLD towards the edge counts as reached. That
threshold keeps the step from being undone right after it is taken, and
it only applies in the growth direction.

* refactor(widgets): shorten resize frame LC-Notes

Comment-only change: trim the edge-clamp LC-Notes in AppWidgetResizeFrame to one or two lines. No behaviour change.
2026-11-02 15:25:39 +08:00
2024-09-14 10:49:35 +08:00
2026-01-10 20:48:14 +07:00
2022-05-17 23:14:06 +07:00
2026-01-10 20:49:40 +07:00
2022-08-10 15:07:14 +05:30
2024-04-30 10:03:35 +08:00
2024-12-19 07:57:45 +08:00
2019-11-25 20:24:07 +09:00
2024-03-22 15:45:32 -07:00

Lawnchair 16

Build debug APK Build release APK Crowdin OpenCollective Telegram Discord GitHub Downloads Play Store Installs

Smartphone home screen shown in day and night themes, featuring Android Material You dynamic color styling across the wallpaper, clock widget, and app icons.

Lawnchair is a free, open-source home app for Android. Taking Launcher3—Android’s default home app—as a starting point, it ports Pixel Launcher features and introduces rich customization options.

This branch houses the codebase of Lawnchair 16, which is currently in development and is based on Launcher3 from Android 16. For Lawnchair 9 to 15, see the branches with the 9- to 15- prefixes, respectively.

Features

  • Material 3 Expressive theming that follows your wallpaper and system colors.
  • At a Glance widget support, with integration for Smartspacer.
  • QuickSwitch support for Android Recents integration on Android 15-16 (root required).
  • Global search for apps, contacts, and web results from the home screen.
  • Customization options for icon packs, fonts, and color settings.

Download

Get it on Google Play Get it on IzzyOnDroid Get it on Obtainium Get it on GitHub

Lawnchair on Play Store will install as a different app compared to other sources. Features may be restricted to comply with Google Play’s publishing rules.

You can also verify your installation to check if you have installed an official build.

Development builds

Interested in keeping yourself up-to-date with every Lawnchair development? Try our development builds!

These builds offer the latest features and bug fixes at a cost of performance and additional issues. Make backups before installing.

Download: Obtainium • GitHub • nightly.link

Sponsors

CodeRabbit

CodeRabbit is an AI-powered code review platform that integrates directly into pull-request workflows and IDEs, examining code changes in context and suggesting improvements.

Support Lawnchair

If you love what we do, consider supporting us on Open Collective! Your contributions help keep Lawnchair independent and enable us to develop faster.

A huge thank you to our Core Backers ($5+): (These backers directly fund our Project Velocity Fund)

Core Backers

Become a supporter to help us cover our operational costs, or become a Core Backer to be featured here!

Contribute

Visit the Lawnchair contributing guidelines for information and tips on contributing to Lawnchair.

S
Description
No description provided
Readme
696 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 56.1%
Kotlin 43%
AIDL 0.3%
JavaScript 0.2%
CSS 0.2%