android:longClickable - Disable Long Click for EditText

How to Disable Long Click for EditText

android:longClickable was added in API Level 1

Defines whether the EditText reacts to long click events.
This will disable the capability for (Edit text, Select word, Select all, Paste) and/or (Edit Text, Select word, Select all, Paste, Input Method) pop-up selections to appear when long-clicking the EditText.

1. Add a EditText  in your main.xml file.

2. In the main.xml file, add the code below.

  <EditText
        ...
       android:longClickable = "false"
  />

3. Compile and run!

Related Articles:
Resources:
http://developer.android.com/reference/android/view/View.html#attr_android:longClickable
http://developer.android.com/reference/android/R.attr.html#longClickable