Skip to content

Commit

Permalink
Documentation: android hide loading screen
Browse files Browse the repository at this point in the history
Correct sample code for hiding the splash screen in android.
  • Loading branch information
adityabhawsingka authored Oct 30, 2019
1 parent 080ac01 commit 1a079d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/apis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ longer than necessary (with your app already being loaded) due to a
limitation with the way we check if the app has properly started.
In this case, the splash screen overlaps the app gui for a short time.

To dismiss the loading screen explicitely in your code, use the `android`
To dismiss the loading screen explicitly in your code, use the `android`
module::

from android import hide_loading_screen
hide_loading_screen()
from android import loadingscreen
loadingscreen.hide_loading_screen()

You can call it e.g. using ``kivy.clock.Clock.schedule_once`` to run it
in the first active frame of your app, or use the app build method.
Expand Down

0 comments on commit 1a079d6

Please sign in to comment.