You can use this
android:focusable='false'
android:cursorVisible='false'
The recommended way according to lint is to use inputType instead of editable, however we had issues with that approach that I believe are still being worked out. Once editable is officially removed, we will update our guidance.
@dsn5ft There are usages of android:editable in this example for TextFields also.
Most helpful comment
You can use this
android:focusable='false'
android:cursorVisible='false'