Open Bug 1813426 Opened 2 years ago Updated 2 years ago

Toolbar "android:gravity" compatibility issue in Android 5.1

Categories

(Fenix :: Toolbar, defect, P2)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: cpeterson, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/27798.

I found compatibility issues in toolbar_background.xml and toolbar_background_top.xml.

You use android:gravity to draw the edge of the toolbar. However, android:gravity does not exist at Android < 6.0.
Therefore, the toolbar looks like this.

API Level 32
toolbar_background

API Level 22
toolbar_background

I sent a pull request in #26344. You may consider my fix to this issue. It should work on both API levels 22 and 32.

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The GitHub issue reporter posted a PR with a fix. See the GitHub issue and PR for screenshots of the bug.

https://github.com/mozilla-mobile/fenix/pull/26344

Severity: -- → S3
Rank: 299
Priority: -- → P2
Summary: A compatibility issue in Android 5.1 → Toolbar "android:gravity" compatibility issue in Android 5.1
You need to log in before you can comment on or make changes to this bug.