05/15/2024 15:19:45

Problem description

Some games need to insert user-defined Activity or other component Activity before the main activity. When an app/game starts, 'windowbackground' set by the main Activity may not be displayed.

Cause of the problem

Under normal circumstances, when an app/game starts, the 'windowbackground' background set by the startup Activity will be displayed before the content is loaded.
When the main Activity starts Activity, the 'windowbackground' background set by the main Activity can be displayed normally;
When the front plugin (such as MSDKPolicy or XG Launch) is inserted in front of the main Activity, the startup Activity at this time is the front plugin Activity and the background of the front plugin will be first displayed at the start. After the content of the main Activity is loaded, the front plugin will launch the main Activity. The 'windowbackground' background of the main Activity at this scene is not displayed.

Solution

If your game have requirements for the background display at the start, you can modify the windowBackground of the front plugin Activity to the background required by your game. If you want to modify the background of the Activity on the component side, you need to communicate and confirm with the component side and make the adaptation by yourself after modification.



Copyright © 2024 MSDK.
All rights reserved.

results matching ""

    No results matching ""