naoak / WebViewMarker

Support library for text selection on Android WebView. (forked from BTAndroidWebViewSelection)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

selection background color while draging

Neernay opened this issue · comments

Hi..

This is not an issues but didn't get where to ask so asking here. Sorry for the Newbie behaviour.

I am using this WebViewMarker in one my project. I am trying to implement this:
the Background color should be visible while draging also. Not only when "onLong" press or final text selection but while draging also...

But i am not getting the code. I have created a method "onDraging" in "DragListener", called this ""javascript: android.selection.selectBetweenHandles(%f, %f);", endX, endY" from there where endX and endY are being calculated the same way as in "onDragEnd"

But some how its not working.. Can you help me out please.

Hi..

I get this problem too,I invoke the onDragEnd method in move event of onTouch in DragController. but its not working correctly.. I need your help,thanks a lot.

Hi..

I am trying it.. let you know if met with any success..!

Thanks a lot, I'm looking forward your good news. By the way, would you like to tell me where are your from?

I am from India..

@pangff have you finished it ?

I also tried but did not succeed. I think this is difficult without some native support.