create a bottom bar in android by using actionbarsherlock

时光怂恿深爱的人放手 提交于 2019-12-23 04:52:24

问题


hi I am new to this android programming .I have included actionbarsherlock in my project. I want to add a bottom bar to my all activities in common. Can anyone suggest me agood tutorial for creating a bottom bar


回答1:


Well, I've just seen that ActionBarSherlock is actually implemented with Fragments, so you have two options:

  1. Use ActionBarSherlock. In this case I would follow the tutorial http://actionbarsherlock.com/usage.html and look at samples described in http://actionbarsherlock.com/samples.html
  2. Implement your own bar using Fragments, if you want to customize it more (or use it for other ends). In this case I would follow the tutorial http://developer.android.com/guide/components/fragments.html

As a general tip, I recommend the site http://www.vogella.com/android.html. It has great tutorials about a wide range of subjects in Android programming.



来源:https://stackoverflow.com/questions/12102104/create-a-bottom-bar-in-android-by-using-actionbarsherlock

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!