Re: [android-developers] Re: Text Selection in Android M in webview.

2016-07-27 Thread Vishal Kumar Singh
u can have listeners in menu.xml. Set the onClick property it will work On Wed, Jul 27, 2016 at 11:19 PM, Paul Klauser wrote: > Haha I actually found that solution earlier today, thanks for sharing! > Only problem now is that I can't actually detect if the user selected any > of the options in

Re: [android-developers] Re: Text Selection in Android M in webview.

2016-07-27 Thread Paul Klauser
Haha I actually found that solution earlier today, thanks for sharing! Only problem now is that I can't actually detect if the user selected any of the options in the action mode. On Wednesday, July 27, 2016 at 12:37:30 PM UTC-4, Vishal Kumar Singh wrote: > > Hi Paul, > > Actually yes > > I jus

Re: [android-developers] Re: Text Selection in Android M in webview.

2016-07-27 Thread Vishal Kumar Singh
Hi Paul, Actually yes I just used onActionmodeStarted callback in activity to override the options and it worked. So basically rather doing this in the view i did in activity. On Wed, Jul 27, 2016 at 4:01 AM, Paul Klauser wrote: > Hey I'm having the same issue, did you ever find a solution? >

[android-developers] Re: Text Selection in Android M in webview.

2016-07-26 Thread Paul Klauser
Hey I'm having the same issue, did you ever find a solution? On Monday, February 22, 2016 at 6:18:38 AM UTC-5, Vishal Kumar Singh wrote: > > Hi, > > I had customized the Contextual Action mode appearing on text selection in > webview. In android M its not working, how to get top toolbar behaviour

[android-developers] Re: Text Selection in Android M in webview.

2016-02-22 Thread Vishal Kumar Singh
I have tried that. But its not working in M. I am not able to remove defalut options of floating text selection toolbar like we used to do for 5.0.1 and below. We could completely overide the options in contextual actionbar. Is there anyway to get it done in M?? On Monday, February 22, 2016 at