Skip to content

Add zoom gesture, tile stroke and dialog button text colors - #202

Merged
skydoves merged 5 commits into
mainfrom
feat/zoom-and-view-options
Sep 16, 2026
Merged

skydoves merged 5 commits into
mainfrom
feat/zoom-and-view-options

Conversation

@skydoves

Copy link
Copy Markdown
Owner

Adds an opt in pinch to zoom gesture for bitmap palettes, so tiny color spots can be picked precisely (#48).
Adds a stroke option to AlphaTileView for separating the painted color from the background (#119).
Adds positive, negative and neutral button text colors to ColorPickerDialog.Builder (#120).
Migrates the demo app to ViewBinding and adds a Zoom menu for the new gesture (#199).

A pinch gesture zooms the palette in and out and a two finger drag moves
the zoomed palette, so tiny color spots of an image can be picked more
precisely. A single touch still selects a color as before.

The gesture is disabled by default and works with only a bitmap palette,
not with the default HSV palette.

Closes #48
The painted color isn't distinguishable when the background has the same
color, so AlphaTileView can draw a stroke on its edge now.

Closes #119
The buttons of the dialog are created when the dialog is shown, so the
text colors are applied on showing. Also updates the ABI dump file.

Closes #120
Replaces the findViewById calls of MainActivity and adds a Zoom menu for
demonstrating the new zoom gesture.

Closes #199
@skydoves
skydoves merged commit ccf693a into main Sep 16, 2026
2 checks passed
@skydoves
skydoves deleted the feat/zoom-and-view-options branch September 16, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant