Douglas Nassif Roma Junior

Results 244 comments of Douglas Nassif Roma Junior

Where exactly do you want to add margins?

Unfortunately, not now. The modal mode enable touch capture in the OverlayView. This OverlayView covers 100% of the screen. What can be implemented in library is a listener to capture...

Sorry, not yet. I'm very busy right now.

When the Orientation changes your activity is re-created, so you loose the reference to the te current Tooltip. Can you create a small project to demonstrate this problem?

Take a look at the Custom Layout Sample: Code: https://github.com/douglasjunior/android-simple-tooltip/blob/cd70d91507cb64749c73f99e3254836190a6c568/sample/src/main/java/io/github/douglasjunior/androidSimpleTooltip/sample/MainActivity.java#L166-L178 Layout: https://github.com/douglasjunior/android-simple-tooltip/blob/cd70d91507cb64749c73f99e3254836190a6c568/sample/src/main/res/layout/tooltip_custom.xml#L2-L7 Background: https://github.com/douglasjunior/android-simple-tooltip/blob/cd70d91507cb64749c73f99e3254836190a6c568/sample/src/main/res/drawable/bg_tooltip.xml#L1-L5 And then, try something like this: https://stackoverflow.com/a/15333015/2826279

I think I do not understand, what's the problem?

> How can I prevent the click event propagation to the views under the Overlay-view ? You need to set the `modal` property.

Please, take a look at the [Sample Project](https://github.com/douglasjunior/android-simple-tooltip/blob/ff64700584f9d2a9f945bd100653c6cb103f1ce0/sample/src/main/java/io/github/douglasjunior/androidSimpleTooltip/sample/MainActivity.java#L76). All examples are made with a button click.

Unfortunately not, the position is only calculated on show.