mozilla-mobile/android-components

Different size widgets are not perfectly aligned to the left/right sides of the screen

iorgamgabriel opened this issue · 0 comments

Steps to reproduce
Long tap on the home screen of the device.
Set a widget for Focus Nightly.
Resize the widget to all available options.
Observe if the widget alignment to left/right.
Expected behavior
The the widget alignment to left/right is consistent on all sizes.

Actual behavior
On phone devices, the 2x1 size is not perfectly aliened and additional space is left out on both sides.
On tablet device portrait mode, the 2x1 size is not perfectly aliened and additional space is left out on both sides.
On tablet device landscape mode, the 1x1 and 2x1 sizes are not perfectly aliened and additional space is left out on both sides.

Device information
Android device: Xiaomi 12 Pro (Android 12), Lenovo Yoga Tab 11 (Android 11).
Focus version: Nightly 105.a01 from 08/22. Also reproducible on Fenix.

This was initial reported on Focus
mozilla-mobile/focus-android#7528

┆Issue is synchronized with this Jira Task