V
V
vision-bk2016-10-14 01:09:53
Android
vision-bk, 2016-10-14 01:09:53

How to add Spinner to ActionBar?

Actually, you need to add a Spinner to the Actionbar, so that it is on the left, and the menu is on the right. We need a simple, really working example, without any icons, custom adapters and other things if it is not necessary.
fb62d4109d144de4b6a34468048a44d7.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mitaichik, 2016-10-14
@mitaichik

I think you need to work here not with the action bar, but with the toolbar. Using the toolbar as an action bar allows you to make a quick migration from older versions, and it simply makes it easier for many to work with it. But the toolbar itself is more functional than the action bar interface, so for something custom you should work with it directly.

O
Oleg Gamega, 2016-10-14
@gadfi

используйте toolbar
toolbar это контейнер, делайте в нем что хотите, любая разметка и функционал малой кровью ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question