Skip to content

Fix of "position" parameter on Android API29+#1395

Merged
devemux86 merged 1 commit intomapsforge:masterfrom
asamm:dev/fix_position_for_caption
Mar 14, 2023
Merged

Fix of "position" parameter on Android API29+#1395
devemux86 merged 1 commit intomapsforge:masterfrom
asamm:dev/fix_position_for_caption

Conversation

@menion
Copy link
Copy Markdown
Contributor

@menion menion commented Mar 14, 2023

On modern Android where is used new StaticLayout.Builder to wrap a texts, is not used correctly prepared Layout.Alignment parameter.

This solves this small fix.

Confirmation

ABOVE_LEFT
image

ABOVE
image

ABOVE_RIGHT
image

LEFT
image

CENTER
image

RIGHT
image

BELOW_LEFT
image

BELOW
image

BELOW_RIGHT
image

@devemux86 devemux86 added the bug label Mar 14, 2023
@devemux86 devemux86 added this to the 0.19.0 milestone Mar 14, 2023
@devemux86 devemux86 merged commit 201cb4a into mapsforge:master Mar 14, 2023
@devemux86
Copy link
Copy Markdown
Collaborator

@menion thanks!

@menion menion deleted the dev/fix_position_for_caption branch March 14, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants