Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

TabbedPage Renderer for Android

$
0
0

I would like to create my own renderer for TabbedPage on Android (similar one to iOS tabs).

I need to create my own tabs. First think what I would like to do is to turn off tabs from action bar. I try this (on TabbedRenderer):

protected override void OnElementPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
base.OnElementPropertyChanged(sender, e);
AndroidActivity main = (AndroidActivity)Context;
main.ActionBar.NavigationMode = ActionBarNavigationMode.Standard;
}

but nothing is happening. Is that possible to turn off tabs from ActionBar? Maybe I use wrong Renderer?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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