Tooltip icon indicating copy to clipboard operation
Tooltip copied to clipboard

Tooltip not showing up on screen

Open larrytech7 opened this issue 8 years ago • 2 comments

I'm trying to open up a tooltip with focus on a textview found in the activity layout that is included from another layout. Code:

 Tooltip tooltip = new Tooltip.Builder(findViewById(R.id.messageText))
                .setText(R.string.message_hint)
                .show();

No error is logged but the tooltip doesn't just show up or does not appear.

larrytech7 avatar Jan 16 '17 20:01 larrytech7

@larrytech7 it's very strange, in sample app Tooltips showing normally, can you provide more info?

ViHtarb avatar Jan 17 '17 18:01 ViHtarb

I really don't know what else to add. what happens is that the tooltip doesn't show when used on views that are not immediate children of the view hierarchy.for example views that come from an 'included' layout. when I use it on any other view on the main view hierarchy it shows up

On Tue, Jan 17, 2017, 7:23 PM Viнt@rь [email protected] wrote:

@larrytech7 https://github.com/larrytech7 it's very strange, in sample app Tooltips showing normally, can you provide more info?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ViHtarb/Tooltip/issues/23#issuecomment-273253932, or mute the thread https://github.com/notifications/unsubscribe-auth/AGMQfb82SP2gDOjuhf00sSmQJzA827KCks5rTQcTgaJpZM4Lk-K6 .

larrytech7 avatar Jan 17 '17 18:01 larrytech7