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

Stretching dialog and changing dialog size

Open saqibsoftwares opened this issue 7 years ago • 6 comments

Hi there, I'm displaying an activity as a dialog using dialog theme. It is appcompat activity. After triggered the the simple tool time, it is changing my dialog size. After triggering it, My dialog taking all the space available on screen. How can I resolve it?

saqibsoftwares avatar Jul 30 '17 12:07 saqibsoftwares

Hi, are you using version 0.2.1?

Take a look in issue #46

douglasjunior avatar Jul 30 '17 15:07 douglasjunior

Thank you @douglasjunior for your quick response and guide. Yes I'm using 0.2.1. It's my bad, I should set the property .overlayMatchParent to false. After setting it to false the problem has been resolve. To make this project great and error free I would like to mention that there are still very minor extra stretching like 15dp in my dialog which is acceptable. :)

saqibsoftwares avatar Jul 30 '17 15:07 saqibsoftwares

screenshot_1501429198

saqibsoftwares avatar Jul 30 '17 15:07 saqibsoftwares

This is strange, could you provide the layout XML of your Dialog and the Tooltip creation code?

douglasjunior avatar Jul 30 '17 16:07 douglasjunior

Sure, Please collect it from the attachments. attachments.zip

saqibsoftwares avatar Jul 30 '17 16:07 saqibsoftwares

Thanks, I'll take a look.

douglasjunior avatar Jul 30 '17 16:07 douglasjunior