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

How to add drop down navigation to androids action bar ??

$
0
0

Hello,

i need to add a drop-down navigation spinner to the android Action bar.

I can add ToolbarItems to the action bar but there is no option from forms to add drop-down navigation.

Description of drop-down navigation / spinner with sample code:

http://developer.android.com/guide/topics/ui/actionbar.html#Dropdown -> Adding Drop-down Navigation

I have created a custom renderer for NavigationPage and can access the colour properties of the action bar.
But I need to find the actionbar object itself to access

actionBar.setNavigationMode
actionBar.setListNavigationCallbacks

etc.. as described here : http://blog.stylingandroid.com/basic-actionbar-part-3/

Please help.

https://forums.xamarin.com/utility/thumbnail/7513/cf://uploads/FileUpload/9d/81b5e64a5f122a6b509a5de683d709.png


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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