android-simple-tooltip icon indicating copy to clipboard operation
android-simple-tooltip copied to clipboard

How to set margins the right way?

Open justbyter opened this issue 6 years ago • 3 comments

Currently setting the margins via the Builder only affects the offset from the anchor. It doesn't apply margins on all sides. Is there a way to solve this?

I tried setting the margins for the mContentLayout but it doesn't work.

justbyter avatar Aug 22 '19 00:08 justbyter

Where exactly do you want to add margins?

douglasjunior avatar Aug 22 '19 01:08 douglasjunior

@douglasjunior I want to add it to all sides. I tried adding layout_margins in my contentView XML, it does nothing. I tried using the margins parameter in the builder, but it only adds it on the side where the arrow points.

justbyter avatar Aug 22 '19 02:08 justbyter

Any update on this?

shylendramadda avatar Jan 11 '22 06:01 shylendramadda