title: How to show/hide grouped views in Android?
body: <p>I want to create an activity such as mentioned in photo...
  as soon as I press the maximize button I want it to become full screen for the activity and part 1 become minimize, and again when I press the restore button I want it to become in a first state: to be able to see part 1 and part 2 ...</p>
  
  <p>I think if we put two layouts it is possible? Isn't it? Please refer me to a resource to help me about this, or show me the code to achieve a solution.</p>
  
  <p><img src="https://i.stack.imgur.com/jEcad.png" alt="enter image description here"></p>