1. Download our Official Android App: Forums for Android!

Support Having problem with setting a layout like the Image.

Discussion in 'Android Help' started by Anand Vardhan, May 8, 2016.

  1. Anand Vardhan

    Anand Vardhan Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    1
    Joined:
    May 8, 2016

    May 8, 2016
    1
    0
    15
    Male
    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.
     

    Advertisement

Share This Page

Loading...