Questions tagged [xamarin.shell]
43 questions
6
votes
2 answers
Setting a default page in the Xamarin.Forms shell menu
Using the Xaminals example, I'm trying to set the default startup page. Here's the relevant code from the xaml:
…

Jasper
- 545
- 7
- 18
4
votes
2 answers
Adding a query to GoToAsync URI Navigation in Xamarin Forms Shell causes it to stop working
So for this issue I have a pretty simple stack. Main Menu Screen > List Page > Detail Page. For each page I am getting to it using
Shell.Current.GoToAsync({name of page});
so basically a push and then going back in the stack…

Sev
- 883
- 1
- 14
- 34
3
votes
2 answers
Xamarin Shell: Redirect to different page and remove current page from nav stack
I imagine this is pretty straightforward, but I'm struggling to make sense of how to do it via the documentation...
I've got a tab page, that is opened from a flyout item.
The tabs for this page are dynamically loaded from saved data in the code…

Sk93
- 3,676
- 3
- 37
- 67
3
votes
2 answers
How to change status bar colour while using xamarin shell
I'm using Xamarin Shell to display navigation drawer and some tabs.
I need to change the status bar colour. I searched many solutions but everything works when we don't go for Xamarin shell based navigation drawer.

Ravi Teja
- 54
- 5
3
votes
2 answers
Adding a shell flyout item header
In Xamarin Shell I'm trying to add a header to a flyout item. See the picture below (taken from the Xaminals project).
The 'Categories' text is a header which is not clickable or navigatable, just a static template.
I have found an article here but…

Jasper
- 545
- 7
- 18
3
votes
2 answers
Xamarin Forms Shell TitleView does not center image
I have an app that uses the new Shell in Xamarin.Forms. I added the following code to one of my pages in an attempt to use the TitleView area to display my app header image centered. (FYI - I have tried Center for both of the alignment options and…

George M Ceaser Jr
- 1,497
- 3
- 23
- 52
2
votes
1 answer
How to set Navigation text color in Xamarin.Forms when using Shell
In my AppShell.xaml I have a number of settings for UI themes.
For example,
However, I can't find the Shell setting for the text which…

Alex Kay
- 260
- 1
- 14
2
votes
1 answer
Xamarin.Forms with Shell: is there a way to specify a icon's color for active tab only?
I'm working on a Xamarin.Forms app based on Shell, and I'm using font icons as icons for the TabBar:
…

Gold.strike
- 1,269
- 13
- 47
2
votes
2 answers
Shell.Current.Navigation.PopAsync() fires OnAppearing for iOS but not Android when it goes back a page
I am using the following command to open a new page:
OpenPageCmd = new Command(async (route) => await Shell.Current.GoToAsync(route));
I am using this command to go back to the page:
Shell.Current.Navigation.PopAsync();
OnAppearing is…

Alan2
- 23,493
- 79
- 256
- 450
2
votes
1 answer
Xamarin Shell navigation passing data to viewmodel doesn't work
I have a route that is registered using the following
Routing.RegisterRoute("SchoolHome", typeof(SchoolHomePage));
I have a page with a list of schools and when I tap a School it executes this just fine from the ViewModel…

Brentb25
- 21
- 1
- 2
2
votes
1 answer
Is there a way to stop longer Xamarin Shell tab titles being truncated?
I'm doing some testing with the Tab Bar in Xamarin Shell. If the tab's title is too long it gets truncated even though there is clearly more than enough room to show the whole title.
Is there a way to stop the text being truncated?
In the example in…

Grant
- 33
- 4
1
vote
1 answer
Xamarin Shell windows full screen but show status bar
How i can create with xamarin shell (android and ios) the Google Map effect (show app in full screen but not hide the status bar). Thx.
For Android i found:
In OnCreate method
Window.SetFlags(WindowManagerFlags.LayoutNoLimits,…

Genry
- 19
- 1
- 4
1
vote
1 answer
Xamarin Forms Remove SHELL Navigation Bar Left Padding
This question is similar to these (1, 2, & 3) questions, but none of their solutions solve my problem.
The issue is the same, I need to remove the left padding in the TitleView, shown below:
I have created a custom Toolbar layout defined…

Muhammad Khan
- 991
- 1
- 12
- 26
1
vote
1 answer
Xamarin Forms GoogleAds Show Bottom Of Shell
In this code , I have first created reportpage and about page.then i create a shell page and add this two page to tab bar . i have a Ad in reportpage .now i want to to carry Ad below my tabbar in shell,any ways show Ad below Shell

Hessam
- 21
- 5
1
vote
1 answer
Navigation bug on first start in Xamarin.Forms Shell app
Main page of my app is checking for user information. Based on some condition, popup shows, that navigates to a page with a webview. I navigate to it using standard approach:
await Shell.Current.Navigation.PushAsync(new BindCardPage(user.uid),…

Anton Motin
- 51
- 1
- 7