This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
5,656 additions
and
848 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
6,328 changes: 5,544 additions & 784 deletions
6,328
Example/Example.Android/Resources/Resource.designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -13,7 +13,6 @@ public App () | |
{ | ||
InitializeComponent(); | ||
|
||
|
||
MainPage = new RootPage(); | ||
} | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -24,4 +24,7 @@ | |
<data name="NavAuth"> | ||
<value>Auth</value> | ||
</data> | ||
<data name="Home"> | ||
<value>Home!!!</value> | ||
</data> | ||
</root> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Example.Views.DrawerMenuHeader" > | ||
<ContentView.Content> | ||
<Grid HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" BackgroundColor="{DynamicResource Primary}"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="10" /> | ||
<ColumnDefinition Width="*" /> | ||
<ColumnDefinition Width="10" /> | ||
</Grid.ColumnDefinitions> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="30" /> | ||
<RowDefinition Height="80" /> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="10" /> | ||
</Grid.RowDefinitions> | ||
<Label Grid.Column="1" Grid.Row="2" Text="AppName" Style="{DynamicResource SubtitleStyle}" /> | ||
</Grid> | ||
</ContentView.Content> | ||
</ContentView> |
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,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using Xamarin.Forms; | ||
|
||
namespace Example.Views | ||
{ | ||
public partial class DrawerMenuHeader : ContentView | ||
{ | ||
public DrawerMenuHeader() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
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,45 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="Example.Views.DrawerMenuPage" | ||
Title="Master"> | ||
<StackLayout> | ||
<ListView x:Name="MenuItemsListView" | ||
SeparatorVisibility="None" | ||
HasUnevenRows="true" | ||
ItemsSource="{Binding MenuItems}"> | ||
<ListView.Header> | ||
<Grid BackgroundColor="#03A9F4"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="10"/> | ||
<ColumnDefinition Width="*"/> | ||
<ColumnDefinition Width="10"/> | ||
</Grid.ColumnDefinitions> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="30"/> | ||
<RowDefinition Height="80"/> | ||
<RowDefinition Height="Auto"/> | ||
<RowDefinition Height="10"/> | ||
</Grid.RowDefinitions> | ||
<Label | ||
Grid.Column="1" | ||
Grid.Row="2" | ||
Text="AppName" | ||
Style="{DynamicResource SubtitleStyle}"/> | ||
</Grid> | ||
</ListView.Header> | ||
<ListView.ItemTemplate> | ||
<DataTemplate> | ||
<ViewCell> | ||
<StackLayout Padding="15,10" HorizontalOptions="FillAndExpand"> | ||
<Label VerticalOptions="FillAndExpand" | ||
VerticalTextAlignment="Center" | ||
Text="{Binding Title}" | ||
FontSize="24"/> | ||
</StackLayout> | ||
</ViewCell> | ||
</DataTemplate> | ||
</ListView.ItemTemplate> | ||
</ListView> | ||
</StackLayout> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Example.Views.DrawerMenuPage" xmlns:controls="clr-namespace:TwinTechsForms.NControl;assembly=TwinTechsForms.NControl.SvgImageView" xmlns:masterpages="clr-namespace:Example.Views" xmlns:xfg="clr-namespace:XFGloss;assembly=XFGloss" Title="Master"> | ||
<StackLayout> | ||
<ListView x:Name="MenuItemsListView" SeparatorVisibility="None" HasUnevenRows="true" ItemsSource="{Binding MenuItems}"> | ||
<ListView.Header> | ||
<masterpages:DrawerMenuHeaderV HorizontalOptions="Fill" HeightRequest="164" /> | ||
</ListView.Header> | ||
<ListView.ItemTemplate> | ||
<DataTemplate> | ||
<ViewCell> | ||
<Grid Margin="16,16" HorizontalOptions="FillAndExpand"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="56" /> | ||
<ColumnDefinition Width="Auto" /> | ||
</Grid.ColumnDefinitions> | ||
<!--<controls:SvgImageView VerticalOptions="Start" SvgAssembly="{Binding SvgAssembly}" SvgPath="ic_label.svg" WidthRequest="24" HeightRequest="24" />--> | ||
<Label Text="XX" Grid.Column="1" VerticalOptions="Start" /> | ||
<Label Grid.Column="2" VerticalOptions="FillAndExpand" VerticalTextAlignment="Center" FontAttributes="Bold" Text="{Binding Title}" FontSize="14" TextColor="{DynamicResource PrimaryTextColor}" /> | ||
</Grid> | ||
</ViewCell> | ||
</DataTemplate> | ||
</ListView.ItemTemplate> | ||
</ListView> | ||
</StackLayout> | ||
</ContentPage> |
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