Image above tabbedpage

Angelru9Angelru9 ESMember ✭✭✭

How can I put an image above tabbedpage?

What alternatives do I have for an equal design?

Answers

  • stemadostemado Member ✭✭✭
    edited December 2018

    @Angelru9

    In your <TabbedPage /> you can add <NavigationPage.TitleView /> and add an image:

    <TabbedPage ...>
    
    <NavigationPage.TitleView>
      <Image Source="YourImageFileName.png">
    </NavigationPage.TitleView>
    
    <TabbedPage.Children>
        // The pages you include in your TabbedPage
    </TabbedPage.Children>
    </TabbedPage>
    

    The image will remain there as you move between tabs.

    *This assumes the image you want to use is in the "drawable" folder of your Android project.

    This was a release in Xamarin Forms 3.2.

    Here is a link with the example below: https://blog.xamarin.com/xamarin-forms-3-2-0-released-going-big-with-little-things/

  • Angelru9Angelru9 ESMember ✭✭✭

    I want something like this:

Sign In or Register to comment.