-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
60 changed files
with
2,011 additions
and
173 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
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,8 +1,9 @@ | ||
{ | ||
"solution": { | ||
"path": "Acr.UserDialogs.sln", | ||
"projects": [ | ||
"src\\Acr.UserDialogs\\Acr.UserDialogs.csproj" | ||
] | ||
} | ||
"solution": { | ||
"path": "Acr.UserDialogs.sln", | ||
"projects": [ | ||
"src\\Acr.UserDialogs\\Acr.UserDialogs.csproj", | ||
"src\\Acr.UserDialogs.Maui\\Acr.UserDialogs.Maui.csproj" | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,14 +1,11 @@ | ||
using Samples; | ||
namespace Samples; | ||
|
||
namespace Sample | ||
public partial class App : Application | ||
{ | ||
public partial class App : Application | ||
public App() | ||
{ | ||
public App() | ||
{ | ||
InitializeComponent(); | ||
this.InitializeComponent(); | ||
|
||
this.MainPage = new MainPage(); | ||
} | ||
this.MainPage = new MainPage(); | ||
} | ||
} |
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
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,12 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:local="clr-namespace:Samples.ViewModels" | ||
x:DataType="local:SettingsViewModel" | ||
x:Class="Samples.SettingsPage" | ||
Title="Settings/Themes"> | ||
<ContentPage.Content> | ||
<StackLayout> | ||
<VerticalStackLayout> | ||
<Button Text="Load Standard Theme" Command="{Binding StandardSettings}" /> | ||
<Button Text="Load Funny Theme" Command="{Binding LoadAbnormalSettings}" /> | ||
</StackLayout> | ||
</VerticalStackLayout> | ||
</ContentPage.Content> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:local="clr-namespace:Samples.ViewModels" | ||
x:DataType="local:StandardViewModel" | ||
x:Class="Samples.StandardPage" | ||
Title="Standard Dialogs"> | ||
<ContentPage.Content> | ||
<StackLayout> | ||
<StackLayout Orientation="Horizontal"> | ||
<VerticalStackLayout> | ||
<HorizontalStackLayout> | ||
<Switch IsToggled="{Binding AutoCancel}" /> | ||
<Label Text="Cancel After 3 Seconds" /> | ||
</StackLayout> | ||
</HorizontalStackLayout> | ||
|
||
<ListView ItemsSource="{Binding Commands}"> | ||
<ListView.ItemTemplate> | ||
<DataTemplate> | ||
<TextCell Text="{Binding Text}" Command="{Binding Command}" /> | ||
<DataTemplate x:DataType="local:CommandViewModel"> | ||
<TextCell Text="{Binding Text}" | ||
Command="{Binding Command}" /> | ||
</DataTemplate> | ||
</ListView.ItemTemplate> | ||
</ListView> | ||
</StackLayout> | ||
</VerticalStackLayout> | ||
</ContentPage.Content> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
using Android.App; | ||
using Android.Content.PM; | ||
using Android.OS; | ||
|
||
namespace Sample | ||
namespace Samples | ||
{ | ||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] | ||
[Activity( | ||
Theme = "@style/Maui.SplashTheme", | ||
MainLauncher = true, | ||
ConfigurationChanges = | ||
ConfigChanges.ScreenSize | | ||
ConfigChanges.Orientation | | ||
ConfigChanges.UiMode | | ||
ConfigChanges.ScreenLayout | | ||
ConfigChanges.SmallestScreenSize | | ||
ConfigChanges.Density | ||
)] | ||
public class MainActivity : MauiAppCompatActivity | ||
{ | ||
} | ||
} | ||
} |
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,10 +1,10 @@ | ||
using Foundation; | ||
|
||
namespace Sample | ||
namespace Samples | ||
{ | ||
[Register("AppDelegate")] | ||
public class AppDelegate : MauiUIApplicationDelegate | ||
{ | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
} | ||
} | ||
} |
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,8 @@ | ||
<maui:MauiWinUIApplication | ||
x:Class="Samples.WinUI.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:maui="using:Microsoft.Maui" | ||
xmlns:local="using:Samples.WinUI"> | ||
|
||
</maui:MauiWinUIApplication> |
Oops, something went wrong.