-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring styles and trying some css on shell
- Loading branch information
1 parent
b1cee3b
commit b8fd285
Showing
22 changed files
with
224 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,80 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Shell | ||
xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:views="clr-namespace:FlyMe.Views" | ||
xmlns:local="clr-namespace:FlyMe" | ||
Shell.FlyoutBehavior="Disabled" | ||
Visual="Material" | ||
x:Class="FlyMe.AppShell"> | ||
|
||
<ShellItem Route="login"> | ||
<ShellContent ContentTemplate="{DataTemplate views:LoginPage}"/> | ||
</ShellItem> | ||
|
||
<FlyoutItem Route="home" Title="My Flights" Icon="{StaticResource IconTabMyFlights}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:MyFlightsPage}"/> | ||
</FlyoutItem> | ||
|
||
<FlyoutItem Title="Today" Icon="{StaticResource IconTabToday}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:TodayPage}"/> | ||
</FlyoutItem> | ||
|
||
<FlyoutItem Title="Book" Route="book" Icon="{StaticResource IconTabBook}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:BookingPage}"/> | ||
</FlyoutItem> | ||
|
||
<FlyoutItem Title="Notifications" Icon="{StaticResource IconTabNotifications}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:NotificationsPage}"/> | ||
</FlyoutItem> | ||
|
||
<MenuItem Text="Logout" Clicked="MenuItem_Clicked" | ||
IconImageSource="{FontImage FontFamily={StaticResource FontAwesome}, | ||
Glyph={x:Static local:IconFont.DoorOpen}, Color=Black,Size=16 | ||
}" | ||
/> | ||
|
||
<Shell.FlyoutHeader> | ||
<Grid Margin="0" | ||
BackgroundColor="#5561F9" | ||
> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="{OnPlatform iOS=66, Default=0}"/> | ||
<RowDefinition Height="120"/> | ||
</Grid.RowDefinitions> | ||
|
||
<Image | ||
Grid.RowSpan="2" | ||
VerticalOptions="Center" | ||
HorizontalOptions="Center"> | ||
<Image.Source> | ||
<FontImageSource | ||
Glyph="{x:Static local:IconFont.PaperPlane}" | ||
FontFamily="{StaticResource FontAwesome}" | ||
Size="32" | ||
Color="GhostWhite" | ||
/> | ||
|
||
</Image.Source> | ||
</Image> | ||
</Grid> | ||
</Shell.FlyoutHeader> | ||
|
||
|
||
<!--<TabBar> | ||
<Tab Title="My Flights" Icon="{StaticResource IconTabMyFlights}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:MyFlightsPage}"/> | ||
</Tab> | ||
<Tab Title="Today" Icon="{StaticResource IconTabToday}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:FlightResultsPage}"/> | ||
</Tab> | ||
<Tab Title="Book" Route="book" Icon="{StaticResource IconTabBook}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:MainPage}"/> | ||
</Tab> | ||
<Tab Title="Notifications" Icon="{StaticResource IconTabNotifications}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:MainPage}"/> | ||
</Tab> | ||
</TabBar>--> | ||
|
||
|
||
</Shell> | ||
x:Class="FlyMe.AppShell"> | ||
|
||
<ShellItem Route="login"> | ||
<ShellContent ContentTemplate="{DataTemplate views:LoginPage}"/> | ||
</ShellItem> | ||
|
||
<FlyoutItem Route="home" Title="My Flights" Icon="{StaticResource IconTabMyFlights}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:MyFlightsPage}"/> | ||
</FlyoutItem> | ||
|
||
<FlyoutItem Title="Today" Icon="{StaticResource IconTabToday}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:TodayPage}"/> | ||
</FlyoutItem> | ||
|
||
<FlyoutItem Title="Book" Route="book" Icon="{StaticResource IconTabBook}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:BookingPage}"/> | ||
</FlyoutItem> | ||
|
||
<FlyoutItem Title="Notifications" Icon="{StaticResource IconTabNotifications}"> | ||
<ShellContent ContentTemplate="{DataTemplate views:NotificationsPage}"/> | ||
</FlyoutItem> | ||
|
||
<MenuItem Text="Logout" Clicked="MenuItem_Clicked" | ||
IconImageSource="{FontImage FontFamily={StaticResource FontAwesome}, | ||
Glyph={x:Static local:IconFont.DoorOpen}, Color=Black,Size=16 | ||
}" | ||
/> | ||
|
||
<Shell.FlyoutHeader> | ||
<Grid Margin="0" | ||
BackgroundColor="#5561F9" | ||
> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="{OnPlatform iOS=66, Default=0}"/> | ||
<RowDefinition Height="120"/> | ||
</Grid.RowDefinitions> | ||
|
||
<Image | ||
Grid.RowSpan="2" | ||
VerticalOptions="Center" | ||
HorizontalOptions="Center"> | ||
<Image.Source> | ||
<FontImageSource | ||
Glyph="{x:Static local:IconFont.PaperPlane}" | ||
FontFamily="{StaticResource FontAwesome}" | ||
Size="32" | ||
Color="GhostWhite" | ||
/> | ||
|
||
</Image.Source> | ||
</Image> | ||
</Grid> | ||
</Shell.FlyoutHeader> | ||
|
||
|
||
<!--<TabBar> | ||
<Tab Title="My Flights" Icon="{StaticResource IconTabMyFlights}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:MyFlightsPage}"/> | ||
</Tab> | ||
<Tab Title="Today" Icon="{StaticResource IconTabToday}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:FlightResultsPage}"/> | ||
</Tab> | ||
<Tab Title="Book" Route="book" Icon="{StaticResource IconTabBook}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:MainPage}"/> | ||
</Tab> | ||
<Tab Title="Notifications" Icon="{StaticResource IconTabNotifications}"> | ||
<ShellContent ContentTemplate="{DataTemplate local:MainPage}"/> | ||
</Tab> | ||
</TabBar>--> | ||
|
||
|
||
</Shell> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
^ContentPage { | ||
-shell-NavBarHasShadow: false; | ||
background-color: red; | ||
} | ||
|
||
^Shell { | ||
NavBarHasShadow: false; | ||
} | ||
|
||
.bgColor { | ||
background-color: #5561F9; | ||
} |
Oops, something went wrong.