Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

TabBar customRender for botton navigation icon without Title

$
0
0

What I actually have:

What I want to obtain:

The code that is actually implemented is this:

<TabBar>

        <ShellContent
            Title="Feed"
            ContentTemplate="{DataTemplate views:MainFeed}"
            Route="mainFeed">
            <ShellContent.Icon>
                <FontImageSource
                    FontFamily="{StaticResource FontAwesomeSolid}"
                    Glyph="{x:Static fontawesome:FontAwesomeIcons.Newspaper}"
                    Size="20" />
            </ShellContent.Icon>
        </ShellContent>

        <ShellContent
            Title="Interests"
            ContentTemplate="{DataTemplate views:MyInterests}"
            Route="interests">
            <ShellContent.Icon>
                <FontImageSource
                    FontFamily="{StaticResource FontAwesomeSolid}"
                    Glyph="{x:Static fontawesome:FontAwesomeIcons.Star}"
                    Size="20" />
            </ShellContent.Icon>
        </ShellContent>

        ....
</TabBar>

Does anyone already build a custom renderer (or if there's a way without it even better) that work with both ios and android or have an idea how I could do it?

Thanks to all


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>