Navigation bar is drawn on top of my activity with transparency so that my content can be viewed through the navigation bar. It's fine and I like it. However, there are two types of devices:
- Devices with a transparent navigation bar
- Device with hardware navigation bar (like some Samsung models) that include content, courses, Not drawn behind the navigation bar.
How do I know that the way my app is running is type 1 above? To wit. How can I get a semi-transparent navigation bar at the top of my program, "How can I put the" top of my activity "answer?
You can try to do something like this:
Boolean menu menu = view configuration (reference) .hasPermanentMenuKey (); Boolean has a back key = keychart map.Device Husky (KEVENT.KKO_back); If you want to do this tool (there is a navigation bar in it!)
No comments:
Post a Comment