Answer the question
In order to leave comments, you need to log in
How can you implement a floating top bar in Android?
At the top of the screen is a LynearLayout that is full screen wide and 50dp high. Below, the remaining space is occupied by a ListView and a button. It is necessary that at the click of a button, this LynearLayout smoothly crawls up beyond the screen border, moreover, freeing up space. The ListView (the child element) and all the following elements also smoothly took this place. By pressing the button again, the LynearLayout also smoothly moved into place, moving the underlying ListView and other elements down. Please tell me how to implement it, what components are needed? An example of a working code will help a lot, or at least tell me where to dig. Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Example here https://github.com/krishnalalstha/ExpandableLayout
Basic question on SO with a similar problem: stackoverflow.com/questions/5165682/how-to-impleme...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question