A
A
Alexander Kolmachikhin2019-02-26 19:57:20
Java
Alexander Kolmachikhin, 2019-02-26 19:57:20

Button pull event for drawable container?

How to implement such a thing:
Let's say we have a button. It's in a FrameLayout and is centered horizontally and vertically from the top of the frame.
I need that when I drag the button down, another FrameLayout pops up from above. And having reached the end, it would be on top of the lower FrameLayout.
Also, when the button was already dragged down, I could drag it up, thus hiding the newly opened frame.
How to implement it correctly?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question