diff --git a/Samples.sln b/Samples.sln
index 2f3cbeb..f1678e3 100644
--- a/Samples.sln
+++ b/Samples.sln
@@ -17,6 +17,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_ShadowLabel", "ch02_Desi
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_OutlineText", "ch02_DesigningViews\ex_OutlineText\ex_OutlineText.csproj", "{EAD02985-9DBA-459D-B12E-32A89D2C95C5}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_Toolbar", "ch02_DesigningViews\ex_Toolbar\ex_Toolbar.csproj", "{0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -43,6 +45,10 @@ Global
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -53,5 +59,6 @@ Global
{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4} = {E9273679-4D52-465F-8C23-8096DD8C2A7B}
{62F4D4C2-7C79-4090-BB4B-20F848322113} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9}
{EAD02985-9DBA-459D-B12E-32A89D2C95C5} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9}
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9}
EndGlobalSection
EndGlobal
diff --git a/ch02_DesigningViews/ex_Toolbar/App.xaml b/ch02_DesigningViews/ex_Toolbar/App.xaml
new file mode 100644
index 0000000..07afafd
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/App.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/App.xaml.cs b/ch02_DesigningViews/ex_Toolbar/App.xaml.cs
new file mode 100644
index 0000000..764e1f5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/App.xaml.cs
@@ -0,0 +1,11 @@
+namespace ex_Toolbar;
+
+public partial class App : Application
+{
+ public App()
+ {
+ InitializeComponent();
+
+ MainPage = new AppShell();
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/AppShell.xaml b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml
new file mode 100644
index 0000000..8aa41a4
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/AppShell.xaml.cs b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml.cs
new file mode 100644
index 0000000..a6c8b01
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml.cs
@@ -0,0 +1,9 @@
+namespace ex_Toolbar;
+
+public partial class AppShell : Shell
+{
+ public AppShell()
+ {
+ InitializeComponent();
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/MainPage.xaml b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml
new file mode 100644
index 0000000..d722d69
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/MainPage.xaml.cs b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml.cs
new file mode 100644
index 0000000..caa7345
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml.cs
@@ -0,0 +1,24 @@
+namespace ex_Toolbar;
+
+public partial class MainPage : ContentPage
+{
+ int count = 0;
+
+ public MainPage()
+ {
+ InitializeComponent();
+ }
+
+ private void OnCounterClicked(object sender, EventArgs e)
+ {
+ count++;
+
+ if (count == 1)
+ CounterBtn.Text = $"Clicked {count} time";
+ else
+ CounterBtn.Text = $"Clicked {count} times";
+
+ SemanticScreenReader.Announce(CounterBtn.Text);
+ }
+}
+
diff --git a/ch02_DesigningViews/ex_Toolbar/MauiProgram.cs b/ch02_DesigningViews/ex_Toolbar/MauiProgram.cs
new file mode 100644
index 0000000..da0d828
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/MauiProgram.cs
@@ -0,0 +1,24 @@
+using Microsoft.Extensions.Logging;
+
+namespace ex_Toolbar;
+
+public static class MauiProgram
+{
+ public static MauiApp CreateMauiApp()
+ {
+ var builder = MauiApp.CreateBuilder();
+ builder
+ .UseMauiApp()
+ .ConfigureFonts(fonts =>
+ {
+ fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
+ fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
+ });
+
+#if DEBUG
+ builder.Logging.AddDebug();
+#endif
+
+ return builder.Build();
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/AndroidManifest.xml b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/AndroidManifest.xml
new file mode 100644
index 0000000..bdec9b5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/AndroidManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainActivity.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainActivity.cs
new file mode 100644
index 0000000..5e5fa90
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainActivity.cs
@@ -0,0 +1,10 @@
+using Android.App;
+using Android.Content.PM;
+using Android.OS;
+
+namespace ex_Toolbar;
+
+[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
+public class MainActivity : MauiAppCompatActivity
+{
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainApplication.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainApplication.cs
new file mode 100644
index 0000000..1449a28
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainApplication.cs
@@ -0,0 +1,15 @@
+using Android.App;
+using Android.Runtime;
+
+namespace ex_Toolbar;
+
+[Application]
+public class MainApplication : MauiApplication
+{
+ public MainApplication(IntPtr handle, JniHandleOwnership ownership)
+ : base(handle, ownership)
+ {
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/Resources/values/colors.xml b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/Resources/values/colors.xml
new file mode 100644
index 0000000..5cd1604
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/Resources/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #512BD4
+ #2B0B98
+ #2B0B98
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/AppDelegate.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/AppDelegate.cs
new file mode 100644
index 0000000..25d9cb5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/AppDelegate.cs
@@ -0,0 +1,9 @@
+using Foundation;
+
+namespace ex_Toolbar;
+
+[Register("AppDelegate")]
+public class AppDelegate : MauiUIApplicationDelegate
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Entitlements.plist b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Entitlements.plist
new file mode 100644
index 0000000..8e87c0c
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Entitlements.plist
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+ com.apple.security.network.client
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Info.plist b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Info.plist
new file mode 100644
index 0000000..f24aacc
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Info.plist
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UIDeviceFamily
+
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Program.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Program.cs
new file mode 100644
index 0000000..311e901
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Program.cs
@@ -0,0 +1,15 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace ex_Toolbar;
+
+public class Program
+{
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/Main.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/Main.cs
new file mode 100644
index 0000000..3aac91d
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/Main.cs
@@ -0,0 +1,16 @@
+using System;
+using Microsoft.Maui;
+using Microsoft.Maui.Hosting;
+
+namespace ex_Toolbar;
+
+class Program : MauiApplication
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+
+ static void Main(string[] args)
+ {
+ var app = new Program();
+ app.Run(args);
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/tizen-manifest.xml b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/tizen-manifest.xml
new file mode 100644
index 0000000..cc54ad6
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/tizen-manifest.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+ maui-appicon-placeholder
+
+
+
+
+ http://tizen.org/privilege/internet
+
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml
new file mode 100644
index 0000000..fcf8f62
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml
@@ -0,0 +1,8 @@
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml.cs
new file mode 100644
index 0000000..997286b
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml.cs
@@ -0,0 +1,24 @@
+using Microsoft.UI.Xaml;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace ex_Toolbar.WinUI;
+
+///
+/// Provides application-specific behavior to supplement the default Application class.
+///
+public partial class App : MauiWinUIApplication
+{
+ ///
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ ///
+ public App()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/Package.appxmanifest b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/Package.appxmanifest
new file mode 100644
index 0000000..91c53f5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/Package.appxmanifest
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+ $placeholder$
+ User Name
+ $placeholder$.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/app.manifest b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/app.manifest
new file mode 100644
index 0000000..30b65e6
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/app.manifest
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/AppDelegate.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/AppDelegate.cs
new file mode 100644
index 0000000..25d9cb5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/AppDelegate.cs
@@ -0,0 +1,9 @@
+using Foundation;
+
+namespace ex_Toolbar;
+
+[Register("AppDelegate")]
+public class AppDelegate : MauiUIApplicationDelegate
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Info.plist b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Info.plist
new file mode 100644
index 0000000..358337b
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ LSRequiresIPhoneOS
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Program.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Program.cs
new file mode 100644
index 0000000..311e901
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Program.cs
@@ -0,0 +1,15 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace ex_Toolbar;
+
+public class Program
+{
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Properties/launchSettings.json b/ch02_DesigningViews/ex_Toolbar/Properties/launchSettings.json
new file mode 100644
index 0000000..c16206a
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Properties/launchSettings.json
@@ -0,0 +1,8 @@
+{
+ "profiles": {
+ "Windows Machine": {
+ "commandName": "MsixPackage",
+ "nativeDebugging": false
+ }
+ }
+}
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appicon.svg b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appicon.svg
new file mode 100644
index 0000000..5f04fcf
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appicon.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appiconfg.svg b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appiconfg.svg
new file mode 100644
index 0000000..62d66d7
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appiconfg.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Regular.ttf b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Regular.ttf
new file mode 100644
index 0000000..2d1edf0
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Regular.ttf differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Semibold.ttf b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Semibold.ttf
new file mode 100644
index 0000000..fe13d06
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Semibold.ttf differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble.png
new file mode 100644
index 0000000..7c0b4b6
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primary.png
new file mode 100644
index 0000000..572fdaa
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primarydark.png
new file mode 100644
index 0000000..d04f709
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/dotnet_bot.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/dotnet_bot.png
new file mode 100644
index 0000000..f93ce02
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/dotnet_bot.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare.png
new file mode 100644
index 0000000..1ec38e2
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primary.png
new file mode 100644
index 0000000..eabc235
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primarydark.png
new file mode 100644
index 0000000..9dc41c2
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle.png
new file mode 100644
index 0000000..6074aab
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primary.png
new file mode 100644
index 0000000..7487639
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primarydark.png
new file mode 100644
index 0000000..b6dd3cb
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble.png
new file mode 100644
index 0000000..24ec5b1
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primary.png
new file mode 100644
index 0000000..32a078f
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primarydark.png
new file mode 100644
index 0000000..2f54e6d
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Raw/AboutAssets.txt b/ch02_DesigningViews/ex_Toolbar/Resources/Raw/AboutAssets.txt
new file mode 100644
index 0000000..50b8a7b
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Raw/AboutAssets.txt
@@ -0,0 +1,15 @@
+Any raw assets you want to be deployed with your application can be placed in
+this directory (and child directories). Deployment of the asset to your application
+is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
+
+
+
+These files will be deployed with you package and will be accessible using Essentials:
+
+ async Task LoadMauiAsset()
+ {
+ using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
+ using var reader = new StreamReader(stream);
+
+ var contents = reader.ReadToEnd();
+ }
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Splash/splash.svg b/ch02_DesigningViews/ex_Toolbar/Resources/Splash/splash.svg
new file mode 100644
index 0000000..62d66d7
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Splash/splash.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Colors.xaml b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Colors.xaml
new file mode 100644
index 0000000..22f0a67
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Colors.xaml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ #512BD4
+ #ac99ea
+ #242424
+ #DFD8F7
+ #9880e5
+ #2B0B98
+
+ White
+ Black
+ #D600AA
+ #190649
+ #1f1f1f
+
+ #E1E1E1
+ #C8C8C8
+ #ACACAC
+ #919191
+ #6E6E6E
+ #404040
+ #212121
+ #141414
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Styles.xaml b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Styles.xaml
new file mode 100644
index 0000000..5bc20f1
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Styles.xaml
@@ -0,0 +1,426 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/ex_Toolbar.csproj b/ch02_DesigningViews/ex_Toolbar/ex_Toolbar.csproj
new file mode 100644
index 0000000..e8132bc
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/ex_Toolbar.csproj
@@ -0,0 +1,66 @@
+
+
+
+ net8.0-android;net8.0-ios;net8.0-maccatalyst
+ $(TargetFrameworks);net8.0-windows10.0.19041.0
+
+
+
+
+
+
+ Exe
+ ex_Toolbar
+ true
+ 8.0.14
+ true
+ enable
+ enable
+
+
+ ex_Toolbar
+
+
+ com.companyname.ex_toolbar
+
+
+ 1.0
+ 1
+
+ 11.0
+ 13.1
+ 21.0
+ 10.0.17763.0
+ 10.0.17763.0
+ 6.5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+