title: How to disable the double click that selects a word in EditText?
body: <p>In <a href="https://stackoverflow.com/a/57365263/1062727">this</a> answer, I've posted my solution for disable default <code>copy, paste, select all and clipboard</code> behaviour for an <code>EditText</code>, including disable handle select cursor:</p>
  
  <p><a href="https://i.stack.imgur.com/kg8Sg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kg8Sg.png" alt="drop"></a> </p>
  
  <p>There are three steps that includes <strong>a)</strong> a short snippet of code (many times posted in <em>Stackoverflow</em>); <strong>b)</strong> an empty image and <strong>c)</strong> a custom and global <code>EditText</code> style</p>
  
  <p>If one does just step <strong>a</strong>, it keeps on showing the <code>handle select</code>. And if one click the handle select, appears the popup with <code>Clipboard + Select All</code>  So one should select an empty image associated with the handle select. </p>
  
  <p>However, there is one feature that I can't handle at all:</p>
  
  <p>The <code>double click</code> <em>Android</em> default behaviour that selects with pink background the clicked word just for a fraction of a second, below showed: </p>
  
  <p><a href="https://i.stack.imgur.com/3zX7o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3zX7o.png" alt="Red Fox"></a></p>
  
  <p>I've tried many solution proposed in <em>StackOverflow</em>, including change <code>onClick</code> (plugged by <code>setOnClickListener</code>) event for disable  the <code>TextEdit</code> control for less than 1 second, using timer or post events. </p>
  
  <p>I also tried handle the cursor in <code>onTouch</code> event.</p>
  
  <p>I even try to program a empty <code>double click</code> handling in <code>GestureDetector.SimpleOnGestureListener()</code></p>
  
  <p>No success. No clue.</p>
  
  <p><strong>Update</strong></p>
  
  <p>For helping clarify, the  features of my problem demand:</p>
  
  <p>1) There is no way to display any extra keys to start typing</p>
  
  <p>2) I need to let the user touch any point of the text, indicating their "insert" position, if applicable. Usually he types at the end of the text and there is no cursor. In that case, I disable it.</p>
  
  <p>3) I need to let the user touch in sequence 2 points of the text, to make a selection, with a marked background. It's not exactly a <code>double click</code>, it's two comfortably separate clicks. I don't like <code>double click</code> for mobile.</p>
  
  <p>-/-</p>
  
  <p>In short, I need to work with the cursor, but not in the standard way that <em>Android</em> offers. Therefore I would need to disable the default <em>Android</em> behaviour, but without losing the cursor and the ability to select a piece of text.</p>
  
  <p>-/-</p>
  
  <p>There is an option to make an artificial cursor that blinks, but I imagine it is quite laborious because the cursor don't occupy on character position exactly.</p>
  
  <p><strong>Update 2</strong></p>
  
  <p>When I use in <code>EditText</code> global style</p>
  
  <pre><code>&lt;item name="android:focusableInTouchMode"&gt;false&lt;/item&gt;
  </code></pre>
  
  <p>The double click becomes inactive, but I cannot show the cursor anymore neither make a selection by software. </p>