如何禁用/删除机器人活动标签和标签栏? [英] How disable / remove android activity label and label bar?

查看:102
本文介绍了如何禁用/删除机器人活动标签和标签栏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

反正是有去除活性标签栏和标签本身是默认的应用程序标签设置? 我想有整体的布局,从我的设计,需要移除标签栏和标签,该标签处于最佳布局。

Is there anyway to remove activity label bar and label itself which is set by default from application label? I'd like to have whole layout from my design and need to remove the label bar and label which is in TOP layout.

推荐答案

您可以通过 Android的设置实现这一目标:款式/ Theme.NoTitleBar <活性GT; 元素中的的Andr​​oidManifest.xml 的是这样的:

You can achieve this by setting the android:theme attribute to @android:style/Theme.NoTitleBar on your <activity> element in your AndroidManifest.xml like this:

<activity android:name=".Activity"
    android:label="@string/app_name"
    android:theme="@android:style/Theme.NoTitleBar">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>

这篇关于如何禁用/删除机器人活动标签和标签栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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