我的主页需要显示两个按钮:登录&注册。使用两个按钮的页面登录活动应首先出现,但只有注册屏幕出现。默认页面不会改变
我对编码非常陌生。所以,请很好:(我一直停留在这几天。
以下是AndroidManifest.xml中。任何人都可以发现什么,我做错了什么?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.thrd">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".LoginActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".RegisterActivity"></activity>
<activity android:name=".UserAreaActivity"></activity>
</application>
</manifest>
包含你的主页的类文件? – Lokesh