问题描述
我已经使用样式为我的启动器设置了窗口背景:
<style name="Theme.Launcher" parent="Base.Theme" >
<item name="android:windowBackground">@drawable/my_launch_screen</item>
</style>
并使用我的 AndroidMainfest 中的样式
<application
android:name=".MyApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme.MainTheme"
android:usesCleartextTraffic="true">
<activity
android:name=".ui.launcher.LauncherActivity"
android:screenorientation="portrait"
android:theme="@style/Theme.Launcher">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.main.MainActivity"
android:launchMode="singleTask"
android:screenorientation="portrait"
android:windowSoftInputMode="adjustPan" />
</application>
当我以这种方式从我的应用程序使用深层链接时,我的问题发生了:
findNavController().createDeepLink()
.setGraph(ServeGraph)
.setDestination(R.id.navigation_date)
.createPendingIntent()
.send()
此问题仅出现在少数设备上,当我使用深层链接时,我看到启动器窗口背景 1 秒钟并且无法摆脱它
有什么想法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)