Android Question hide flying menu on EditText

DALB

Active Member
Licensed User
Hello,

I wish to select a word in an editText. it becomes highlited.
How can I do to keep the Highligh but making the flying menu disappearing ?
This little menu appear when I select a word. It contains in one line the following expressions :"Select All - Cut - Copy - Paste"

If you have any idea, thanks for this.
 

mberthe

Member
Licensed User
Longtime User
A solution so that a long click does not trigger the display of the contex menu

B4X:
ref5.Target=EditText1
ref5.SetOnLongClickListener("context_longclick")

Sub context_longclick(viewtag As JavaObject) As Boolean
    Return True
End Sub
 
Upvote 0

DALB

Active Member
Licensed User
Okay you two, thank you for replying !
 
Last edited:
Upvote 0
Top