通过使用actionbarsherlock创建Android的底栏 [英] create a bottom bar in android by using actionbarsherlock

查看:121
本文介绍了通过使用actionbarsherlock创建Android的底栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是新来这个机器人的编程。我已包括在我的项目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:


  1. 使用ActionBarSherlock。在这种情况下,我会按照教程 http://actionbarsherlock.com/usage.html 并看样品在 http://actionbarsherlock.com/samples.html 描述

  2. 使用片段,如果你想定制更(或用于其他目的)实现自己的吧。在这种情况下,我会按照教程 http://developer.android.com/guide/components /fragments.html

  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

作为一般的提示,我建议网站 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.

这篇关于通过使用actionbarsherlock创建Android的底栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆