如何禁用/删除机器人活动标签和标签栏?标签、机器人

由网友(这场戏丶从喜剧演到悲剧)分享简介:反正是有去除活性标签栏和标签本身是默认的应用程序标签设置?我想有整体的布局,从我的设计,需要移除标签栏和标签,该标签处于最佳布局。 Is there anyway to remove activity label bar and label itself which is set by default from a...

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

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>
阅读全文

相关推荐

最新文章