jamespsterling commented on issue #193: Splash Screen Spinner Position URL: https://github.com/apache/cordova-plugin-splashscreen/issues/193#issuecomment-531498807 > plugins/cordova-plugin-splashscreen/src/ > > for android: > `centeredLayout.setGravity(Gravity.BOTTOM|Gravity.CENTER); ` > and > `layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, RelativeLayout.TRUE);` > > u can see more about gravity and relativelayout here: > > https://developer.android.com/reference/android/view/Gravity.html > https://developer.android.com/reference/android/widget/RelativeLayout.html > > for ios: CDVSplashScreen.m: > `_activityView.center = CGPointMake(parentView.bounds.size.width / 2, parentView.bounds.size.height / 2 + number);` > > only change this number for position at center. > > sorry about english, its not my native. Thank you thank you, ```Gravity.BOTTOM|Gravity.CENTER``` been looking for that.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
