File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,6 +159,26 @@ code::
159159Working with the App lifecycle
160160------------------------------
161161
162+ Dismissing the splash screen
163+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164+
165+ With the SDL2 bootstrap, the app's splash screen may not be dismissed
166+ immediately when your app has finished loading, due to a limitation
167+ with the way we check if the app has properly started. In this case,
168+ the splash screen overlaps the app gui for a short time.
169+
170+ You can dismiss the splash screen as follows. Run this code from your
171+ app build method (or use ``kivy.clock.Clock.schedule_once `` to run it
172+ in the following frame)::
173+
174+ from jnius import autoclass
175+ activity = autoclass('org.kivy.android.PythonActivity').mActivity
176+ activity.removeLoadingScreen()
177+
178+ This problem does not affect the Pygame bootstrap, as it uses a
179+ different splash screen method.
180+
181+
162182Handling the back button
163183~~~~~~~~~~~~~~~~~~~~~~~~
164184
You can’t perform that action at this time.
0 commit comments