Question 1: How to set the EditText not editable, this method is now used: exWebSite.setInputType (InputType.TYPE_NULL); But in the space after clicking EditText editable, and then point the control, soft keyboard still exists, and can be input, but you can not delete already set a good content.
Question 2: Remember the password function how to achieve it? Would like to ask about the method. Remember that people can account number and password in this machine!
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Issue 1 EditText.setEnabled (false);
Question 2 saved after a successful login user ID and password to sharedpreferences,
Get
when you log in again from sharedpreferences
Reply:
when you log in again from sharedpreferences
Thank Kazakhstan, the first issue is resolved, I'll try the solution to the second question, there is also a useful way SharedPreference, but seemingly only remember a user's information.
Reply:
1.setEnabled, sethinit is the default display
2 casually write can be saved locally, you can use the database can also be used sharedpreferences
No comments:
Post a Comment