when you long click an editText in andriod, a utility bar with options to cut/copy/select all/select word comes up. I am using an onLongClickListener to bring up an Dialog- and want to hide these edit options.
i’m not sure what it is called, so i cant find it in any documentation in order to figure out how to hide it.
i’d like something that does this:
onLongClick(View v){
//hide edit options
myDialogBox.show();
}
You should return
truein youronLongClick()-method so the Android Framework knows that the action has been consumed.Further information can be found here: How to disable edittext pop up when EditText is LongClicked?