APP启动时白屏或出现标题

 

<application
        android:name="com.zdkj.zdexpress.MyApplication"
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Translucent" >
        <meta-data
            android:name="com.baidu.lbsapi.API_KEY"
            android:value="AzVp5UE1wCuvsXa7ifHe8IjL" />
        <activity
            android:name="com.zdkj.zdexpress.SplashActivity"
            android:label="@string/app_name"
            android:launchMode="singleTask" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
android:theme="@android:style/Theme.Translucent"

把主题设置为透明即可

你可能感兴趣的:(APP,标题,白屏)