I’m using ActionBarSherlock and I need to place it at the bottom.
Is there any way to do this?
Can I just set android:gravity="bottom" in style.xml?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Firstly, you cannot change the position of the
ActionBarSherlock. It will always be displayed on the top. However, you can easily put your tabs and other contents you add in theActionBarto be displayed at the bottom.I also had a similar problem. I solved it by putting
android:uiOptions="splitActionBarWhenNarrow"within the<activity>tag.For example, this worked:
However, only in portrait mode it will actually show at the bottom of the screen. So, you will have to define your application orientation in the manifest as portrait, otherwise it will again go to the top.