Change the position of Google Play Game Services notification on Android -


i'm using google play game services android games. there 1 game doesn't go along achievements notification. it's endless game , user have concentrate , stay focus gain more score. achievements notification cover important portion of screen annoyed user.

i see it's possible ios: https://developers.google.com/games/services/ios/achievements#changing_the_notification_location.

is there similar in android?

you can using setgravityforpopups method games class

games.setgravityforpopups(googleapiclient apiclient, int gravity) 

for example,

games.setgravityforpopups(getapiclient(), gravity.top | gravity.center_horizontal); 

Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -