Wednesday, February 26, 2014

Online request, when a button is clicked, the text entry box next to it allows you to enter text


What ways, such as online<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
final EditText editText = (EditText) findViewById (id);
editText.setEnable (false);
button.setOnClickListener (new OnClickListener () {
void onClick (View id) {
editText.setEnable (true);
}
});

No comments:

Post a Comment