原如下:
<manifest package=""
android:versionCode="1"
android:versionName="1.0" xmlns:andro>
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".RelativeActivity"
android:label="@string/title_activity_relative" >
<intent-filter>
<action android:name="" />
<category android:name="" />
</intent-filter>
</activity>
<activity
android:name=".FrameActivity"
android:label="@string/title_activity_frame" >
<intent-filter>
<action android:name="" />
<category android:name="" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="" />
<category android:name="" />
</intent-filter>
</activity>
</application>
</manifest>
此时 RelativeActivity为启动界面。
要修改.FrameActivity为启动界面,只需要将.FrameActivity往前放即可,结果如下:
<manifest package=""
android:versionCode="1"
android:versionName="1.0" xmlns:andro>
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".FrameActivity"
android:label="@string/title_activity_frame" >
<intent-filter>
<action android:name="" />
<category android:name="" />
</intent-filter>
</activity>
<activity
android:name=".RelativeActivity"
android:label="@string/title_activity_relative" >
<intent-filter>
<action android:name="" />
<category android:name="" />
</intent-filter>
</activity>
<activity
android:name=".MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="" />
<category android:name="" />
</intent-filter>
</activity>
</application>
</manifest>