android:launchMode="singleTask"

android中launcherMode有4中属性也可以称为四种启动模式:standard(默认), singleTop,singleTask和 singleInstance;

     <activity
            android:name="com.air.chinesetea.HomeActivity"
            android:launchMode="singleTask"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustUnspecified|stateHidden" >
        </activity>

 

posted @ 2014-02-18 13:29  BetterMan-  阅读(928)  评论(0编辑  收藏  举报