I have an editext which populates on the click of a button.
The problem is when I load android the cursor is allowing this editext to be editable.
I need the edittext not be editable and only update onclick. Is this possible?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Tommy…. You can change the text in the onClick handler using setText. Here is some sample code for enabling or disabling editing dynamically:
given
You can do: