启动页面出现模糊的问题:
原因是 :android:theme="@style/TranslucentTheme"
<application
android:name=".DoctorApplication"
android:allowBackup="false"
android:icon="@drawable/logo"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name=".LoadingActivity"
android:label="@string/app_name"
android:theme="@style/TranslucentTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
修改后:
<application
android:name=".DoctorApplication"
android:allowBackup="false"
android:icon="@drawable/logo"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".LoadingActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Translucent.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>