I am working on an application where I want to hide the button, or, say, make the button invisible when I touch the screen and again make the button visible when I again touch the screen.
How I can make it?
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.
Implement an onTouchListener
Then in this you’ll want to reference the button and set it’s visibility: