Trying to make a button appear and disappear
Trying to make a button appear and disappear
I am curious to know how click a button to make another button appear and click again it disappears
private Button buttonshop, buttonMenu;
buttonshop.setOnclickListener(new View.onClickListener()
public void onClick (View view)
buttonMenu.setVisibility(View.INVISIBLE);
);
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.