Created complete XamlBrowser sample application: - App.xaml: Colors and styles for light/dark theme support - App.xaml.cs: BrowserApp with ToggleTheme() - MainPage.xaml: Toolbar (Back, Forward, Refresh, Stop, Home), address bar, Go button, WebView, status bar with theme toggle - MainPage.xaml.cs: Navigation logic, URL handling, progress animation - MauiProgram.cs: UseLinuxPlatform() configuration - Program.cs: LinuxProgramHost entry point - Resources/Images: 10 SVG icons for toolbar (dark/light variants) UI matches screenshot provided by user: - Dark gray toolbar with navigation buttons - Entry field for URL with rounded corners - Green "Go" button - WebView displaying content - Status bar with theme toggle 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
721 B
XML
25 lines
721 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<OutputType>Exe</OutputType>
|
|
<RootNamespace>XamlBrowser</RootNamespace>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<UseMaui>true</UseMaui>
|
|
<ApplicationTitle>XAML Browser</ApplicationTitle>
|
|
<ApplicationId>com.openmaui.xamlbrowser</ApplicationId>
|
|
<ApplicationVersion>1.0</ApplicationVersion>
|
|
<SupportedOSPlatformVersion>9.0</SupportedOSPlatformVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\OpenMaui.Controls.Linux.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<MauiImage Include="Resources\Images\*" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|