-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spec] AppBar #152
Comments
Please manage and, i think prioritize, support for the standard navigation page!! Thanks!! |
Yes, I would love to use this control and have apps pre Shell that would be difficult to convert to shell |
It's just a composite Forms View You could use it as a cell for a CollectionView and have an infinite number of AppBars |
Why not View type instead of String in things like: BackButtonTitle? |
These are moving to Xamarin Community Toolkit for now |
Link where it moved: xamarin/XamarinCommunityToolkit#545 |
AppBar
An app bar consists of a toolbar and potentially other views. Expose one or more actions.
The main benefit of using the appbar is being able to customize everything. Customization options like:
NOTE: AppBar is a cross-platform view that takes over when native navbar hit their limits, such as adding custom content, positioning with layouts, etc.
In Xamarin.Forms, the app bar are typically used in the Shell.AppBar property, which places the app bar as a fixed-height widget at the top of the screen.
API
Next, a list with the AppBar properties and events.
Properties
Events
Scenarios
Let's see some samples covering common scenarios.
Simple app bar
Let's see a basic example:
Custom app bar
Customizing the appearance using a transparent bar with a custom height and custom content (TitleView).
Placement
A top app bar (default placement) displays navigation and actions at the top of mobile screens.
A bottom app bar displays navigation and actions at the bottom of mobile screens.
Using Styles
Can customize the appearance of the tab content, tab strip, tab item, etc. using XAML styles or CSS.
Using XAML:
Using CSS:
Difficulty : Medium
More information
Based on xamarin/Xamarin.Forms#10774
The text was updated successfully, but these errors were encountered: