I have two buttons: Button1, Button2. When pushing Button1 I want corresponding CheckBox1, CheckBox2, CheckBox1 and EditText1 hide themself and everything that is below - moves up as on the screenshot2. If I push Button2, they should appear and the rest moves down. There will be several such elements as on the screenshot 1. They are hidden as on the screenshot 3. How can I do this? Show an example please. The project is applied: https://cloud.mail.ru/public/N3ax/UxKKNyaVo