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.

CustomView in ActionBar disappear when orientation change ? (AppCompat)

RoexRoex FRMember ✭✭

Hello !

Problem :

I personalized my actionBar (SupportActionBar) with a renderer on my CustomNavigationPage beacause I use AppCompat theme. So, I added my CustomView (a SearchBar) in the actionbar from this class.

But ... when we change the orientation (Portrait->Landscape / Landscape->Portrait) my view disappear and I must recreate my CustomNavigationPage if I want to see again my CustomView.

I need your help, thank you in advance !


  • LippelLippel DEMember ✭✭

    I'm having the same issue and didn't find anything yet. Did you find out what causes this?

Sign In or Register to comment.