I am new to Android and I want to ask from you people. that I have a Android Activity named as Account Page, It shows the user his/her registration data. The Activity contains editable fields (EditText
).
I want that initially, all The EditText
s are disabled and get enabled when I click on the Edit TextView
(Button
?). When the fields are enabled, the Edit TextView
should read 'Apply'. When I click on 'Apply', then data should be modified, and the fields and Button
restored to the initial state.
I am using this implementation using SharedPreferences
in Android.
Kindly tell me how I can achieve this.