Reconstruct XamlBrowser sample with XAML from decompiled code
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>
This commit is contained in:
11
CLAUDE.md
11
CLAUDE.md
@@ -54,12 +54,17 @@ git branch # Should show: * final
|
||||
| NewTodoPage.xaml | [ ] | Add new todo form |
|
||||
| TodoDetailPage.xaml | [ ] | Edit todo details |
|
||||
|
||||
### XamlBrowser (app + 1 page)
|
||||
### XamlBrowser (app + 1 page) - COMPLETE
|
||||
|
||||
| File | Status | Notes |
|
||||
|------|--------|-------|
|
||||
| BrowserApp.xaml | [ ] | Basic app setup |
|
||||
| MainPage.xaml | [ ] | WebView browser |
|
||||
| App.xaml | [x] | Colors, styles (NavButtonStyle, GoButtonStyle, AddressBarStyle, StatusLabelStyle) |
|
||||
| App.xaml.cs | [x] | BrowserApp with ToggleTheme() |
|
||||
| MainPage.xaml | [x] | Toolbar with nav buttons, address bar, WebView, status bar |
|
||||
| MainPage.xaml.cs | [x] | Navigation logic, progress animation, theme toggle |
|
||||
| MauiProgram.cs | [x] | UseLinuxPlatform() setup |
|
||||
| Program.cs | [x] | LinuxProgramHost entry point |
|
||||
| Resources/Images/*.svg | [x] | 10 toolbar icons (dark/light variants) |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user