Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to remove the shadow in the Xamarin.Forms application

When scrolling from above and below appears a white shadow, how can I remove it? The application uses the "ThriveGmbH.BottomNavigationBar.XF" library, but this shadow appears on regular pages

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Would you mind showing us some code or a simple sample ?

  • roman_melnikowroman_melnikow Member
    edited August 2018

    @ColeX said:
    Would you mind showing us some code or a simple sample ?

    This happens even on the newly created page

    Home page code (With library "ThriveGmbH.BottomNavigationBar.XF")

     public AppShell ()
     {
           InitializeComponent ();
                appShell = this;
                this.BarBackgroundColor = Color.FromHex("#f1f1f1");
                this.BarTextColor = Color.Accent;
    
                this.FixedMode = true;
                this.CurrentPageChanged += MainPage_CurrentPageChanged;
      }
    

    Xaml code

        <xf:BottomBarPage xmlns="..."
                     xmlns:x="..."
                     xmlns:xf="clr-namespace:BottomBar.XamarinForms;assembly=BottomBar.XamarinForms"
                     x:Class="Rammstein.Views.AppShell"
                     xmlns:local="clr-namespace:Rammstein.Views">
    
            <local:LandingPage x:Name="tab1"  Title="Главная" Icon="outline_home_24" />
            <local:NewsPage x:Name="tab2" Title="Новости" Icon="outline_art_track_24" />
            <local:BioPage x:Name="tab3" Title="Биографии" Icon="outline_supervisor_account_24"  />
            <local:DiscPage x:Name="tab4" Title="Дискография" Icon="outline_library_music_24" />
            <local:Menu x:Name="tab5" Title="Другое" Icon="outline_menu_24" />
    
        </xf:BottomBarPage>
    
Sign In or Register to comment.