title: Android Hide Soft Keyboard from EditText while not losing cursor
body: <p>I've come about as far as <a href="https://stackoverflow.com/questions/7665685/how-do-i-prevent-the-software-keyboard-from-popping-up">this</a> which gets me halfway there, but not quite.
  I have a dialer <code>Fragment</code> that has all the usual <code>Button</code>s to enter a number including backspace, so I don't need the soft keyboard. I'd also like to give the user the ability to paste text (long click... works fine per default), as well as to edit what has been entered so I need the cursor.</p>
  
  <p>The easiest way I found to make sure the soft keyboard doesn't pop up if the user clicks inside the <code>EditText</code> is to set the <code>inputType</code> to null - but that kills the cursor as well. </p>
  
  <p>So, how do I declare my <code>EditText</code> and what kind of commands should I launch to have my <code>EditText</code> field never ever show the soft keyboard no matter what the user attempts, but still retain paste functionality and the cursor?</p>
  
  <p>I've also tried <code>android:windowSoftInputMode="stateAlwaysHidden"</code> in my manifest, but to no avail.</p>