Skip to content

Commit

Permalink
Add remove_presplash
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyWeeUsr committed Nov 19, 2016
1 parent 9fa15b7 commit 2094aea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pythonforandroid/recipes/android/src/android/_android.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,14 @@ TYPE_TEXT_VARIATION_POSTAL_ADDRESS = 112
TYPE_TEXT_VARIATION_URI = 16
TYPE_CLASS_PHONE = 3

# SDL2 presplash remove
def remove_presplash():
'''Remove android presplash in SDL2 bootstrap.'''
try:
mActivity.removeLoadingScreen()
except:
return

def show_keyboard(target, input_type):
if input_type == 'text':
_input_type = TYPE_CLASS_TEXT
Expand Down

0 comments on commit 2094aea

Please sign in to comment.