Closed raselldev closed 3 months ago
Updated Code
<simpleShell:SimpleShell.RootPageContainer>
<Grid
RowDefinitions="*, Auto"
x:Name="rootContainer">
<controls:TopBarScaffold
IsBackButtonVisible="False"
Title="{Binding CurrentShellContent.Title, Source={x:Reference thisShell}}">
<simpleShell:SimpleNavigationHost x:Name="pageContainer"/>
</controls:TopBarScaffold>
<controls:TabBarView
Grid.Row="1"
ShellItems="{Binding Path=ShellContents, Source={x:Reference thisShell}}"
VerticalOptions="End" HorizontalOptions="Fill"
CurrentPageSelectionChanged="TabBarViewCurrentPageChanged"/>
</Grid>
</simpleShell:SimpleShell.RootPageContainer>
TopBarScafold.xaml
```
Hi @raselldev,
what is the expected position of the button?
Hi @RadekVyM thank you for your reply,
expected like this video in simpleshell:
ios: https://github.com/RadekVyM/SimpleToolkit/assets/65116078/84cf922e-f698-4f96-b06c-561df5c61e1c
android: https://github.com/RadekVyM/SimpleToolkit/assets/65116078/b37e1561-be40-4aef-a255-060cfbfc9572
i just updated with your code in https://github.com/RadekVyM/SimpleToolkit/blob/main/docs/SimpleToolkit.SimpleShell/README.md but not working
delete bin & obj still not working.
AppShell.xaml
```
Hi,
these code snippets do not help me to understand where the problem is. If the information bellow does not help, could you please create a GitHub repository with a reproduction sample and share it?
The sample used in the SimpleShell documentation does not use the DisplayContentBehindBars()
method that extends app's content outside the safe areas (behind status and navigation bars). If you do not need this feature, do not call that method in CreateMauiApp()
.
If I am not mistaken, basically all samples listed in the Samples section of this repository use safe area helpers.
@RadekVyM
It's work with remove DisplayContentBehindBars()
Thank you for your support!!
I have implementation back button, and i have wrong button position.
Whats wrong with my xaml code?