Archived
WIP: swap to vector icons (for android only, iOS can SVG)
This commit is contained in:
1 parent
1c14530139
commit
17e6ca60b1
24 files changed
+432
-205
No files matched your search
@@ -31,7 +31,7 @@
|
||||
|
||||
public ServiceResult Logout()
|
||||
{
|
||||
System.Threading.Thread.Sleep(2000);
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
this.DisplayName = string.Empty;
|
||||
this.IsLoggedIn = false;
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
public ServiceResult RequestPasswordReset(string username)
|
||||
{
|
||||
System.Threading.Thread.Sleep(2000);
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
|
||||
this.DisplayName = string.Empty;
|
||||
this.IsLoggedIn = false;
|
||||
|
||||
@@ -25,11 +25,11 @@
|
||||
</ListView.Footer>-->
|
||||
<ListView.ItemsSource>
|
||||
<x:Array Type="{x:Type models:FlyoutPageItem}">
|
||||
<models:FlyoutPageItem Title="Home" Icon="home.png" TargetType="{x:Type views:HomePage}" />
|
||||
<models:FlyoutPageItem Title="My Stuff" Icon="layers.png" TargetType="{x:Type views:MyStuffPage}" />
|
||||
<models:FlyoutPageItem Title="Settings" Icon="settings.png" TargetType="{x:Type views:SettingsPage}" />
|
||||
<models:FlyoutPageItem Title="About" Icon="help.png" TargetType="{x:Type views:AboutPage}" />
|
||||
<models:FlyoutPageItem Title="Logout" Icon="logout.png" TargetType="{x:Type views:LogoutPage}" />
|
||||
<models:FlyoutPageItem Title="Home" Icon="ic_home" TargetType="{x:Type views:HomePage}" />
|
||||
<models:FlyoutPageItem Title="My Folders" Icon="ic_folder" TargetType="{x:Type views:MyFoldersPage}" />
|
||||
<models:FlyoutPageItem Title="Settings" Icon="ic_settings" TargetType="{x:Type views:SettingsPage}" />
|
||||
<models:FlyoutPageItem Title="About" Icon="ic_helpcircle" TargetType="{x:Type views:AboutPage}" />
|
||||
<models:FlyoutPageItem Title="Logout" Icon="ic_logout" TargetType="{x:Type views:LogoutPage}" />
|
||||
</x:Array>
|
||||
</ListView.ItemsSource>
|
||||
<ListView.ItemTemplate>
|
||||
@@ -40,8 +40,8 @@
|
||||
<ColumnDefinition Width="30" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image Grid.Column="0" Source="{Binding Icon}" />
|
||||
<Label Grid.Column="1" Text="{Binding Title}" />
|
||||
<Image Grid.Column="0" Source="{Binding Icon}" VerticalOptions="Center" />
|
||||
<Label Grid.Column="1" Text="{Binding Title}" VerticalTextAlignment="Center" />
|
||||
</Grid>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace MobileApp1.Views
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
ContentPageHelper.SetDetailPage(this, typeof(MyStuffPage));
|
||||
ContentPageHelper.SetDetailPage(this, typeof(MyFoldersPage));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?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="MobileApp1.Views.MyStuffPage"
|
||||
x:Class="MobileApp1.Views.MyFoldersPage"
|
||||
xmlns:views="clr-namespace:MobileApp1.Views"
|
||||
Title="My Stuff">
|
||||
<ContentPage.Content>
|
||||
@@ -3,9 +3,9 @@ using Xamarin.Forms;
|
||||
|
||||
namespace MobileApp1.Views
|
||||
{
|
||||
public partial class MyStuffPage : ContentPage
|
||||
public partial class MyFoldersPage : ContentPage
|
||||
{
|
||||
public MyStuffPage()
|
||||
public MyFoldersPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Reference in new issue
Block a user