naoak / WebViewMarker

Support library for text selection on Android WebView. (forked from BTAndroidWebViewSelection)
MIT License
62 stars 24 forks source link

selection background color while draging #1

Open Neernay opened 11 years ago

Neernay commented 11 years ago

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.

pangff commented 11 years ago

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.

Neernay commented 11 years ago

Hi..

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

pangff commented 11 years ago

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

Neernay commented 11 years ago

I am from India..

123Harvery commented 11 years ago

@pangff have you finished it ?

naoak commented 10 years ago

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