Android的 - 删除标题栏(动作条) [英] Android - Remove Title Bar (ActionBar)

查看:128
本文介绍了Android的 - 删除标题栏(动作条)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我如何做到以下几点,

Can anyone tell me how to do the following,

  1. 在删除应用程序标题栏和放大器;保持动作吧。
  2. 将标签栏(操作栏)在屏幕的底部。
  3. 从选项卡中删除刷卡功能。

推荐答案

我们必须澄清你的问题的部分内容:

We have to clarify some contents of your question:

  1. 在应用程序标题栏是操作栏的一部分,所以他们是同样的事情;换句话说,你不能鸿沟他们,最后你可以删除你的应用程序的标题; <​​/ li>
  2. 您不能移动操作栏在屏幕的底部,但你可以的分裂它,因为它说这个的官方链接(见的使用拆分操作栏的段落);这可能是做的只有操作栏被激活;
  3. 如果您想从选项卡中删除刷卡功能,请参阅<一href="http://stackoverflow.com/questions/13169635/disable-swiping-between-tabs-in-fragmentactivity">this StackOverflow的问题。
  1. the "app title bar" is part of the Action Bar, so they are the same thing; in other words you can't "divide" them, at last you can delete the title of your application;
  2. you can't move the Action Bar to the bottom of the screen, but you can split it, as it says this official link (see Using split action bar paragraph); this can be do only if Action Bar is activated;
  3. if you want to remove swipe feature from tab, see this StackOverflow question.

正如你可以在此链接并在这个,底部的选项卡由谷歌气馁(我不想展开这个讨论,见谅)。

As you can see on this link and in this one, tabs on bottom are discouraged by Google (i don't wanna launch a discussion about this, forgive me).

不过,当然,你可以自由地做任何你想要与你的应用程序,我发现非常有用的这个解决方案

But of course, you are free to do whatever you want with your app, and i found very usefull this solution.

这是我所能做的。如果你被再度出击,发布您的code。

That's all i can do. If you get struck again, post your code.

这篇关于Android的 - 删除标题栏(动作条)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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