Add zoom gesture, tile stroke and dialog button text colors - #202
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).