1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <ContentPage xmlns =" http://schemas.microsoft.com/dotnet/2021/maui"
3+ xmlns : x =" http://schemas.microsoft.com/winfx/2009/xaml"
4+ xmlns : resources =" clr-namespace:PassXYZ.Vault.Properties"
5+ xmlns : styles =" clr-namespace:PassXYZ.Vault.Resources.Styles"
6+ x : Class =" PassXYZ.Vault.Views.IconsPage"
7+ Title =" Icons" >
8+
9+ <ContentPage .ToolbarItems>
10+ <ToolbarItem Text =" {x:Static resources:Resources.action_id_cancel}" Clicked =" OnCancelClicked" >
11+ <ToolbarItem .IconImageSource>
12+ <FontImageSource FontFamily =" FontAwesomeRegular"
13+ Glyph =" {x:Static styles:FontAwesomeRegular.WindowClose}"
14+ Color =" {AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Secondary}}"
15+ Size =" 16" />
16+ </ToolbarItem .IconImageSource>
17+ </ToolbarItem >
18+ <ToolbarItem Text =" {x:Static resources:Resources.action_id_save}" Clicked =" OnSaveClicked" >
19+ <ToolbarItem .IconImageSource>
20+ <FontImageSource FontFamily =" FontAwesomeRegular"
21+ Glyph =" {x:Static styles:FontAwesomeRegular.Save}"
22+ Color =" {AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Secondary}}"
23+ Size =" 16" />
24+ </ToolbarItem .IconImageSource>
25+ </ToolbarItem >
26+ </ContentPage .ToolbarItems>
27+
28+ <Grid RowDefinitions =" Auto,Auto,*" >
29+ <Label x : Name =" selectedIcon" Text =" {x:Static resources:Resources.message_id_select_icon}"
30+ HorizontalTextAlignment =" Start"
31+ Margin =" 20" Grid.Row=" 0" />
32+
33+ <Picker Margin =" 20" ItemsSource =" {Binding FontFamilyNames}" SelectedItem =" {Binding SelectedFontFamilyName}"
34+ HorizontalOptions =" StartAndExpand" Grid.Row=" 1" />
35+
36+ <SearchBar Margin =" 20" x : Name =" searchBar" SearchButtonPressed =" OnSearchButtonPressed"
37+ WidthRequest =" 200" HorizontalOptions =" EndAndExpand" Grid.Row=" 1" />
38+
39+ <ScrollView Grid.Row=" 2" >
40+ <FlexLayout x : Name =" flexLayout"
41+ Wrap =" Wrap" JustifyContent =" SpaceAround" />
42+ </ScrollView >
43+ </Grid >
44+
45+ </ContentPage >
0 commit comments