• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Read only Edit Text.

is it possible to display the edittext widget to be readonly.

for example.

when we execute a sample program with edittext widget then is it possible for the user to only read the text that is only select it but not modify it anyway.

please help.
 
You could try setting inputtype to none -- that's the only option I see.

You could also just use a textview instead.
 
Back
Top Bottom