HI.. This is my code in xml
<EditText android:longClickable="false"
android:layout_marginLeft="5dp" android:id="@+id/txt"
android:width="150dp" android:singleLine="true" android:text="@string/value"
android:inputType="none" android:cursorVisible="false" />
I have manually disabled soft keyboard in my application.
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(view.getApplicationWindowToken(), 0);
where view is the EditText. However I m unable to disable the input from hardware keyboard (slide keyboard) like the ones in droid for that particular EditText. How can this be achieved ?