通过使用actionbarsherlock创建Android的底栏actionbarsherlock、Android

2023-09-08 08:47:49 作者:82年的小可爱

您好,我是新来这个机器人的编程。我已包括在我的项目actionbarsherlock。我想一个底部栏添加到我的共同所有活动。任何人都可以给我建议。一个好的教程创建底栏

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

推荐答案

好吧,我刚刚看到ActionBarSherlock实际上是与片段实现的,所以你有两个选择:

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

使用ActionBarSherlock。在这种情况下,我会按照教程 http://actionbarsherlock.com/usage.html 并看样品在 http://actionbarsherlock.com/samples.html 描述使用片段,如果你想定制更(或用于其他目的)实现自己的吧。在这种情况下,我会按照教程 http://developer.android.com/guide/components /fragments.html 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 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

作为一般的提示,我建议网站 http://www.vogella.com/android.html 。它有大约一个广泛的Andr​​oid的编程科目伟大的教程。

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.