Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Android app add spinner to left of toolbar

  • 21-01-2016 05:35PM
    #1
    Registered Users, Registered Users 2 Posts: 1,559 ✭✭✭


    I'm working voluntarily on an android app for someone.
    I created a kind of dropdown navigation icon and set it to be the navigation icon for a Toolbar.
    How do I get a spinner to open up under the navigation icon that
    I created on the left hand side of the Toolbar?
    I tried adding the spinner to my Toolbar and it will only pop up on the right hand side of the Toolbar which is not what I want.


Comments

  • Registered Users, Registered Users 2, Paid Member Posts: 8,012 ✭✭✭The_B_Man
    Something about sandwiches


    If you're trying to have a dropdown/spinner up the top left, instead of adding it to the toolbar on the top right, then you just have to create a view, and set that as the view of the toolbar.

    I did a quick Google and I think its toolbar.addview() but not 100% on that.


  • Registered Users, Registered Users 2, Paid Member Posts: 8,012 ✭✭✭The_B_Man
    Something about sandwiches


    If you're trying to have a dropdown/spinner up the top left, instead of adding it to the toolbar on the top right, then you just have to create a view, and set that as the view of the toolbar.

    I did a quick Google and I think its toolbar.addview() but not 100% on that.


Advertisement