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

Add Logo to Android ActionBar in Custom Tabbed Page

$
0
0

I want to customise the ActionBar on Android in a TabbedPage to add a logo at the left of the action bar.

What event do I override and how do I get access to the ActionBar?

I'm thinking something like this:

[assembly: ExportRendererAttribute(typeof(TabbedPage), typeof(CustomTabbedPage))]
public class CustomTabbedPage : TabbedRenderer
{
protected override void OnAttachedToWindow()
{
base.OnAttachedToWindow();
var actionBar = ????
}
}

Are there any examples of custom tabbed pages?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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