Skip to content

the icons do not appear #166

@XamarinTounsi

Description

@XamarinTounsi

Hello,
the icons do not appear in any platform (UWP, Android, IOS)


 <StackLayout Orientation="Horizontal" Margin="0,5,0,0"
                         HorizontalOptions="FillAndExpand">
                <iconize:IconImage Icon="fa-tag" IconSize="16" IconColor="#fff"
                                   HorizontalOptions="Start"/>
                <Label Text="Tags" TextColor="#fff" VerticalTextAlignment="Center"
                       HorizontalOptions="Start"/>
                <StackLayout Orientation="Horizontal"
                             HorizontalOptions="EndAndExpand"
                             effect:AddCommand.On="True"
                             effect:AddCommand.EnableRipple="True"
                             effect:AddCommand.EffectColor="#3742fa"
                             effect:AddCommand.Command="{Binding ShowCategoriesCommand}">
                    <iconize:IconImage Icon="fa-ellipsis-h" IconSize="16" IconColor="#fff"
                                       Margin="0,5,10,0"/>
                    <Label Text="More" TextColor="#fff" VerticalTextAlignment="Center"
                           Margin="0,5,10,0"/>
                </StackLayout>

            </StackLayout>`

in app.cs i added this code

  Plugin.Iconize.Iconize
                                .With(new Plugin.Iconize.Fonts.FontAwesomeSolidModule())
                                .With(new Plugin.Iconize.Fonts.FontAwesomeRegularModule())
                                .With(new Plugin.Iconize.Fonts.FontAwesomeProRegularModule())
                                .With(new Plugin.Iconize.Fonts.FontAwesomeBrandsModule())
                                .With(new Plugin.Iconize.Fonts.EntypoPlusModule())
                                .With(new Plugin.Iconize.Fonts.IoniconsModule())
                                .With(new Plugin.Iconize.Fonts.TypiconsModule())
                                .With(new Plugin.Iconize.Fonts.MeteoconsModule())
                                .With(new Plugin.Iconize.Fonts.FontAwesomeProSolidModule())
                                .With(new Plugin.Iconize.Fonts.FontAwesomeProBrandsModule())
                                .With(new Plugin.Iconize.Fonts.MaterialModule());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions