mathew-kurian / TextJustify-Android

:page_facing_up: Android Text Full Jusiftication / Wrapping / Justify / Hyphenate - V2.0
https://github.com/bluejamesbond/TextJustify-Android/wiki
Apache License 2.0
1.86k stars 370 forks source link

Doesn't work setOnClickListener #101

Open AseevEIDev opened 8 years ago

AseevEIDev commented 8 years ago

Can't set onClick or onLongClick, it doesn't work. But setOnTouchListener works good. What can I do? Thank you for your good work.

mathew-kurian commented 8 years ago

This because TextView is built on top of ScrollView which consumes such events I believe

Sent from my iPhone

On Jan 29, 2016, at 3:50 AM, AseevEIDev notifications@github.com wrote:

Can't set onClick or onLongClick, it doesn't work But setOnTouchListener works good What can I do? Thank you for your good work

— Reply to this email directly or view it on GitHub.

AseevEIDev commented 8 years ago

I think so too. I made this methods manually with onTouch. You can make it manually in your class too

Edonfreiner commented 7 years ago

Is there anyway to possible fix this? I am having the same issue, my TextViews are in the ScrollView, but its not working.