> But, the issue now, is that this constant (android:editable) is
> deprecated. See:
> http://developer.android.com/reference/android/R.attr.html#editable
>
> The documentation at the above URL says "Use inputType instead."
>
> So I looked at:
> http://developer.android.com/reference/android/R.attr.html#inputType
> and tried:
>
> android:inputType="none"
>
> However, that had no effect whatsoever -- the soft keyboard still
> appeared.
>
> Any ideas?

File an issue on http://b.android.com -- ask them to ensure that all
android:editable functionality is available in a non-deprecated form. It
is possible there is some existing combination of things (e.g.,
android:inputType="none" and something else) that achieves that
functionality, though off the top of my head I'm not quite sure what. It's
also possible that this scenario fell through the cracks when they were
getting the IMF going.

In Android, deprecated doesn't mean it's going away, though I'd certainly
aim to use non-deprecated APIs wherever possible.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to