Android hide title bar

Set the attribute on the < activity > element: Android: theme as @ Android: style / theme.notitlebar.fullscreen. The code is as follows:

<activity
    android:name="com.xxx.setting.AccountManageActivity"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    android:icon="@drawable/ic_yxl" >
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
</activity>

Reproduced at: https://www.cnblogs.com/xl0715/p/3436138.html

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>