I am wondering how can I make the bottom navigation always visible in Android studio.
I would like that when filter options is clicked, the new full-screen page is slid from right to left. And on the new screen, you can still see the bottom navigation. I am attaching a picture for a better representation image
Does anybody know what is the best practice to achieve that?
Thank you for any help you can offer
I've tried with activity and popups but I couldn't get the right result.
Related
I am trying to add navigation view to my app, but it is causing issues. My main UI is an infinitely swipe-able carousel of pages. It originally looks like this:
Then when I wrap it in a navigation view, it opens like this, with a back button and nothing else:
When I hit the back button, it looks like this:
The left side is swipe-able like the original UI, but when I touch the right, grey side, it takes me back to the empty page with the back button.
Any idea what may be causing this? I implemented the infinite carousel by putting each page in a ZStack, and using offsets/relativeLocation. I referred to this tutorial:
https://www.youtube.com/watch?v=fB5MzDD1PZI
Can I not use a NavigationView? Is there an alternative route I can take in which I create my own top NavBar and navigate to separate views without NavigationBar/NavigationLink?
Any help is appreciated and please feel free to ask questions, etc. Thanks!
You want to apply StackNavigationViewStyle to your NavigationView.
NavigationView {
...
}.navigationViewStyle(StackNavigationViewStyle())
You're experiencing an unwanted split view, and you can find more info here.
For larger devices like an iPad or iPhone Pro Max in landscape, it defaults to DoubleColumnNavigationViewStyle.
I was wondering if there was a way in Xcode to, instead of displaying the normal menu items or popovers, display a normal window coming from the menu bar, similar to how third party apps like CleanMyMac do it.
Thanks in advance for any help provided.
The menu slider that the menu is popping out from the left side of the screen is awesome.
"I was just trying to see how it can be emulated in my application.
Any one has a clue how it can be achieved?"
I want it to look exactly like on the picture, with menu items on the left.
There is a similar Android Question
You can use TabbedPane for that purpose, having left menu populated with set of Actions. However, usage of TabbedPane means you have to use Tabs.
In your case, you'll most likely have to use Actions menu which pops out from the right side as this complies with Blackberry Design Guidelines and fits your goals as I can see it from the screenshot provided better.
I've been asked to create an iphone app with a left nav/menu. Since there are no native UI components to use for this, I was wondering what would be the best way to achieve this. The only app that I remember that had this kind of thing was the Facebook app from about 18months ago.
Is there a good 3rd party API to handle this kind of thing?
Description of the left nav: There is a permanent left nav along the left of the screen running the full length of the screen. When the user selects a menu option a UIView/UIViewController slide in from the right side and covers over the menu. A little button is left stuck to the left side of the screen. If the user selects this button the view slides back to the right again, and the leftnav menu appears from underneath the view and it is possible to interact with again.
Where is the problem? just create a UIView with subview containing UIButtons, you have to layout the buttons yourself (calculate the frame). Later you add that leftmenuView to the UiViewCobtroller.
I have a test page that I have working with sliding tabs
(http://www.maggies-bayfield.com/wp/temp/old/slider_no_jscroll.htm).
if you click on a navbar item, the page scrolls down to the
appropriate place. this is exactly what I want. however, Android OS
doesn't support overflow:auto etc. and I NEED this to work on all
mobile devices. So, I found Jscrollpane and implemented it on my test
page. it works great (scroll bar shows up on android) but the sliding
tabs are now broken (http://www.maggies-bayfield.com/wp/temp/old/
jscroll_breaks_slider.htm).
Anyone have any ideas or solutions?
Much appreciated!
again:
sliding tabs with out jscrollpane: http://www.maggies-bayfield.com/wp/temp/old/slider_no_jscroll.htm
sliding tabs with jscrollpage: http://www.maggies-bayfield.com/wp/temp/old/jscroll_breaks_slider.htm
Thnx!
August