How can I make my text field non editable but use it to display results from my calculations? I want a look similar to EditText and that's why I don't want to use TextView.
Muhammad Imad Qureshi wrote:How can I make my text field non editable but use it to display results from my calculations? I want a look similar to EditText and that's why I don't want to use TextView.
I suppose you can set the editable property to true or false in the layout xml file
focusable & focusableInTouchMode attributes might be of some help Or
I think, you can put a background(use the same 9-patch drawable used for the EditText) on the TextView to make it look similar to EditText.
Thanks for replying. Setting focusable to false in my layout.xml file worked. Setting editable might also work but its deprecated. Thanks to both of you for replying.
I don't even know how to spell CIA. But this tiny ad does:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!