-
-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dismissability issues with tooltips that have custom View. #2169
Conversation
@@ -5,6 +5,7 @@ | |||
android:orientation="vertical" | |||
android:paddingStart="16dp" | |||
android:paddingTop="16dp" | |||
android:paddingBottom="16dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding 16dp
will show too much space on the bottom (on Samsung S9). Would it be possible to change it to 8dp
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what's happening there.
The library uses the width
instead of height
to adjust the tooltip's height.
My Pixel 3 XL also has a similar issue you have on Pixel 2 (with android:paddingBottom="16dp"
changes)
It would be better to change android:padding='16dp'
for a proper fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add the ScrollView
back to the tooltip custom views? I will report this issue to the author. 🆘
bab1c7b#diff-b973be46f02dbcc9ce6123253a46d143a264dd1713a7f15bc7eac15fbb80eaa3
@cooltey I've removed the layout changes from this PR, so this can just be fixing the logic of dismissing. After this, we can continue to tweak the layouts separately, or pull in more updates from the balloon library. |
No description provided.