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

Overriding Xamarin.Forms Toolbar on Android side

$
0
0

Hello everyone,

i am currently trying to find a way to access the Toolbar Items from a MasterDetailPage in my Xamarin.Forms PCL from within the Android implementation.
My goal is to create a custom ActionBar view, which displays a menu, home and backnavigation icon at the left side of the screen.
So far I've managed to implement that on the iOS side, but on Android - no matter what I do - I seem unable to get information about the toolbar items which have been created in the pcl.

So far, I have tried writing a custom renderer for NavigationPage, ContentPage, ToolBar and MasterDetailPage, but no matter what I did so far, I seem to lack the ability to find anything related to the ToolbarItems in either activity.ActionBar or e.Element.

Am I missing something out? If anyone could give me a hint, I'd be very grateful.

Thank you in advance!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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