I need an xml file for the following: I have a check box button. When I click it 3 more check boxes buttons will apprear on the screen. How to do that ?
Share
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.
Just add all the checkboxes to the layout, so they are all visible, and then use code like this to make some visible/invisible dynamically:
You can set the default visibility using
android:visibility="gone"in the XML