Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Android app add spinner to left of toolbar

  • 21-01-2016 5: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 Posts: 7,893 ✭✭✭The_B_Man


    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 Posts: 7,893 ✭✭✭The_B_Man


    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