Frameworks
React Native
Flutter
Package samples
Cookbook
Version 11
Version 10
Version 9
Version 8
Version 7
Version 6
Version 5
AnnotStyleDialogFragment
is a DialogFragment
that shows annotation style properties in a bottom sheet view. With this style dialog, users can change the annotation color with the advanced color picker or directly select preset styles. The style dialog also provides a recent and a favorite list for quick access.
To learn about customizing style dialog, see the customize style dialog guide .
The AnnotationStyleDialogFragment.Builder
class allows you to create an AnnotStyleDialogFragment
with a specified AnnotStyle
. The AnnotStyle
represents the initial annotation style to display.
Example
Afterwards, to show an annotation style dialog call show(FragmentManager)
. Similarly, to dismiss the annotation style dialog programmatically call dismiss()
.
You can listen to annotation style changes by setting an OnAnnotStyleChangeListener
to your AnnotStyleDialogFragment
using setOnAnnotStyleChangeListener
. The AnnotStyleDialogFragment
raises an event when a style change occurs (such as a color change, thickness change, text color change, etc., allowing you to define custom behavior for such events.
To learn about changing annotation style, see the change annotation properties guide.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales