I’m trying to add custom layout to the tooltip modifier ,but i couldn’t find the solution , also i would like to change the crosshair type behavior on the tool tip ,instead of that i would like to add my own style
We have an example to show how to customize TooltipModifier tooltip. You can use it as a start point to customize tooltip in your application
Regarding custom crosshair for TooltipModifier – we provide constructor overload, which accepts CrossDrawableBehavior instance. You can extend this behavior and override its onDrawOverlay implementation and draw something custom on Canvas. The point where center of crosshair should be rendered is stored in lastUpdatePoint field.
Hope this will help you!
i ‘ve tried the above mentioned solution, but couldn’t achieve the desired result.Here i’m attaching the design which i tried to implement.is there a way to pass it as a layout resource.It would be a great help if you could look into this
Please login first to submit.