• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Having problem with setting a layout like the Image.

The First Image is the main home screen where 3 items are shown.
1.png

When clicked on "Comfort". The comfort item moves up a bit and makes space for a "Heating" item.

2.png


When again clicked on "Comfort" it shows 2 items which comes with animation to the screen and moving the items form the screen.

3.png
4.png


And when clicked on "heating" the "Dinner" and "Hall" item hides and 2 items are shown in their place
and the "Heating" changes position to the top.

5.png



Please help me in determining how to achieve this kind of transition.
I was able to do the 1st layout by "Linear Layout" but was unable to show and hide the "Heating" item.
And it changes size and position dynamically .
Please help me out.
 
Back
Top Bottom