It is necessary to make a retractable curtain, i.e. There is a Layout, on top of the button, when you click, another Layout is pushed down. It looks like SlidingPaneLayout from support v4. But just press and (or) pull down.

What are the options to implement this? Ready libraries are not desirable. thank

    1 answer 1

    In my opinion, here is what you need: http://developer.alexanderklimov.ru/android/animation/overridependingtransition.php#overridependingtransition

    Or look at the ViewFlipper. I think it can be applied to different layouts. After all, they are inherited from View. There is an example: http://www.androhub.com/android-viewflipper/

    And here is the answer, how to add layout programmatically: https://stackoverflow.com/questions/2759290/how-to-programmatically-add-view-in-viewflipper

    • Activation is not necessary to start - user_21
    • Ideally, SlidingDrawer was cool, but outdated ( - user_21