Android 在一个界面上设置了多个button跳转不同界面,想在跳转的界面再添加一个button跳回来
该怎么设置?我的AndroidManifest.xml设置如下,该怎么设置?新手刚刚弄的。<?xmlversion="1.0"encoding="utf-8"?><man...
该怎么设置?我的AndroidManifest.xml设置如下,该怎么设置?新手刚刚弄的。
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.tianqiofcapacity"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.tianqiofcapacity.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.tianqiofcapacity.checkActivity"
android:label="@string/app_name"
></activity>
<activity
android:name="com.example.tianqiofcapacity.controlroomActivity"
android:label="@string/app_name"
></activity>
<activity
android:name="com.example.tianqiofcapacity.doorActivity"
android:label="@string/app_name"
></activity>
</application>
</manifest> 展开
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.tianqiofcapacity"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.tianqiofcapacity.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.example.tianqiofcapacity.checkActivity"
android:label="@string/app_name"
></activity>
<activity
android:name="com.example.tianqiofcapacity.controlroomActivity"
android:label="@string/app_name"
></activity>
<activity
android:name="com.example.tianqiofcapacity.doorActivity"
android:label="@string/app_name"
></activity>
</application>
</manifest> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询