开发者

How to align dropdown navigation of ActionBar to right in HoneyComb Android?

I am new to Android development.

I have spinnerAdapter and I passed it to Dropdown navigator of Actionbar. But It shows Dropdown list on left side of ActionBar.

I want to show that List on Right side of A开发者_如何学CctionBar.

Thanks in Advance.


You could align action bar item on left or right by only adding custom view on action bar and add buttons etc in that customview (may be a relative layout )and you can align item inside this customview

Thank


I don't think that this is possible, or if it is I don't believe there's a solution which involves the built in navigator.

This was something that was investigated a while back for the project that I'm working on and we came to the conclusion that on the left is where it is meant to reside.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜