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 369 forks source link

DocumentView blocks focus in row #74

Open sigrlami opened 9 years ago

sigrlami commented 9 years ago

I'm using DocumentView inside ListView row and when setting OnClickListener it can be clicked only around DocumentView.

I've tried to set usual workaround android:descendantFocusability="blocksDescendants", but this doesn't helped.

What should I do? Is this a bug or there is a known workaround?

mathew-kurian commented 9 years ago

This is a known bug. I haven't found a workaround yet. There is a test case in there which might be of interest https://github.com/bluejamesbond/TextJustify-Android/blob/master/sample/src/main/java/com/bluejamesbond/text/sample/test/ListViewTest.java

sigrlami commented 9 years ago

@bluejamesbond thanks. I'll try to patch this

mathew-kurian commented 9 years ago

It would be much appreciated.

mauricegavin commented 9 years ago

I've come across this one too.