The Facebook navigation bar is really pretty. So I want to use it on my app. Please tell me what to do.
https://www.youtube.com/watch?v=ANLMaL7zn20 <- This is a YouTube video.
facebook android android-side-navigation
The method I found is FrameLayout and applying custom Horizontal ScrollView (HSV) at the top of the menu. You can put the view that you want in HSV. The first child view needs to be transparent. Because the menu should be visible and clickable when HSV is not scrolled.
You can scroll to the application view where the app is turned on and HSV is first displayed. And when you want to see the menu again, scroll through the menu that appears to show a transparent view.
https://github.com/gitgrimbo/android-sliding-menu-demo If you go into the <-link and look at the code, there are two buttons that call HorzScrollWithListMenu and HorzScrollWithImageMeun, as shown in the image below.
Screenshot of half scrolling
Screenshot when you scroll completely
© 2024 OneMinuteCode. All rights reserved.