请给我一个Android应用程序,有超过3个Android活动,一切正常,直到我添加到SplashScreen活动,将只显示一个应用程序安装或数据清除。现在问题是当我安装应用程序时,我会在屏幕上看到两个午餐图标,这是不正常的。以下是我的活动和使用方法,请任何人协助我。
飞溅屏幕
:安装应用程序后,它内部包含WebView。
SplashScreenOnLoad(喷溅屏幕加载)
:每次启动应用程序时,它将显示500毫秒并重定向到
ApplicationMainActivity
,内部没有WebView。
应用程序主活动
:这是主要的应用程序活动,包含WebView。
尿动力学
:这是用于URL方案提取,没有WebView。
流行性
:这是URL弹出窗口,任何单击的外部URL
应用程序主活动
将在此处打开,它包含WebView
androidmanifest.xml文件
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.shop"
android:installLocation="auto">
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<application
android:hardwareAccelerated="true"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".SplashScreen"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="sensorPortrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SplashScreenOnload"
android:label="@string/app_name"
android:launchMode="singleTask"
android:screenOrientation="sensorPortrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ApplicationMainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:screenOrientation="sensorPortrait">
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
</activity>
<activity android:name=".UriSchemActivity"
android:screenOrientation="sensorPortrait">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="example" />
<data android:scheme="fs" />
<data android:host="www. example.com" />
<data android:host="example.com" />
<data android:pathPrefix="/app/www/" />
<data android:pathPrefix="/app/" />
<data android:pathPattern=".*" />
</intent-filter>
</activity>
<activity
android:name=".PopLoginActivity"
android:screenOrientation="sensorPortrait"
android:theme="@style/Theme.Transparent" />
<service android:name=".FcmMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
</application>
</manifest>