二〇一五年五月二十二日--bug--启动页面出现模糊的问题

启动页面出现模糊的问题:
原因是 :android:theme="@style/TranslucentTheme"
  1.  1 <application
     2         android:name=".DoctorApplication"
     3         android:allowBackup="false"
     4         android:icon="@drawable/logo"
     5         android:label="@string/app_name"
     6         android:theme="@style/AppTheme">
     7         <activity
     8             android:name=".LoadingActivity"
     9             android:label="@string/app_name"
    10             android:theme="@style/TranslucentTheme">
    11             <intent-filter>
    12                 <action android:name="android.intent.action.MAIN"/>
    13                 <category android:name="android.intent.category.LAUNCHER"/>
    14             </intent-filter>
    15         </activity>

     

 
 
修改后:
  1.  1 <application
     2         android:name=".DoctorApplication"
     3         android:allowBackup="false"
     4         android:icon="@drawable/logo"
     5         android:label="@string/app_name"
     6         android:theme="@style/AppTheme" >
     7         <activity
     8             android:name=".LoadingActivity"
     9             android:label="@string/app_name"
    10               android:screenOrientation="portrait"
    11             android:theme="@android:style/Theme.Translucent.NoTitleBar">
    12             <intent-filter>
    13                 <action android:name="android.intent.action.MAIN" />
    14                 <category android:name="android.intent.category.LAUNCHER" />
    15             </intent-filter>
    16         </activity>
posted @ 2015-05-23 09:58  西北野狼  阅读(213)  评论(0编辑  收藏  举报