Android studio怎样隐藏标题栏

Android studio怎样隐藏标题栏

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.xieth.as.imooc_how_old" >


    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>


    <application  android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="人脸识别" android:theme="@style/Theme.AppCompat.NoActionBar" >
        <activity  android:name=".MainActivity" android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

修改这一句

android:theme="@style/Theme.AppCompat.NoActionBar" >

你可能感兴趣的:(Android studio怎样隐藏标题栏)