You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by GitBox <gi...@apache.org> on 2022/04/04 08:22:45 UTC

[GitHub] [cordova-plugin-splashscreen] NiklasMerz commented on a diff in pull request #310: applied changes in SplashScreen that allows get ScaleType and backgroundColor from preferences

NiklasMerz commented on code in PR #310:
URL: https://github.com/apache/cordova-plugin-splashscreen/pull/310#discussion_r841481621


##########
src/android/SplashScreen.java:
##########
@@ -393,6 +390,7 @@ public void onCancel(DialogInterface dialog) {
 
                 spinnerDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
                 spinnerDialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
+                spinnerDialog.getWindow().setGravity(Gravity.CENTER);

Review Comment:
   This [PR](https://github.com/apache/cordova-plugin-splashscreen/pull/234) is already about this.



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org