I tried the answer below, and it worked, but make sure 1) EditText should not focus on initialization 2) when your orientation changes, when the user focus is on editText, the stock keyboard appears, which is another "solved" problem.
This was mentioned in a previous answer, but be careful that you MUST make sure your editText element does not focus on instantiating:
https://code.google.com/p/android/issues/detail?id=27609#c7
# 7 nyphb ... @ gmail.com
I finally found a working solution for me.
The first part (in onCreate):
mText.setInputType(InputType.TYPE_NULL); if (android.os.Build.VERSION.SDK_INT >= 11 ) {
In addition, for android: textIsSelectable, you must set it to true (or set to onCreate), and EditText should not focus on initialization. If your EditText is the first custom view (which was in my case), you can get around this by putting it just above it:
<LinearLayout android:layout_width="0px" android:layout_height="0px" android:focusable="true" android:focusableInTouchMode="true" > <requestFocus /> </LinearLayout>
source share