Does anyone know how to add a floating bar that will stay at the top of a layout page, even when a user is scrolling through the contents of that layout?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just add that bar at the top of your layout, and wrap the rest of the content with a
ScrollView. For example:That way, the wrapped part of your view will be scrollable while the header will remain in the same site.