You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/09/25 09:35:26 UTC
[GitHub] [cordova-plugin-splashscreen] Barklim opened a new issue #295: The image is expanded in cases of stretched screens.
Barklim opened a new issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295
My problem is displaying the image on non-standard smartphones.
The image is stretched due to the non-proportional aspect ratio.
There are two cases as an example:
1. Galaxy a7 2018
Diagonal 6 inches
Resolution 2220x1080
2. Galaxy A50
Diagonal 6.4 inch
Resolution 2340x1080
Can I use some plugin tools to display the image correctly, or maybe there is some alternative solution for such resolutions.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] timbru31 commented on issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295#issuecomment-698833162
Thanks a lot for your issue, however the issue template exists for a reason. 😊
It helps us to debug the issue further and to provide a solution much faster. With important information missing, we unfortunately can't help you.
Therefore, please edit this issue accordingly or close and create a new one and make sure to provide all the required information.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] Barklim commented on issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
Barklim commented on issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295#issuecomment-698853605
What does this template look like? Why you can't just answer yes or no. If the problem has no solution and the screens are always elongated on non-standard smartphones.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] Barklim commented on issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
Barklim commented on issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295#issuecomment-698853605
What does this template look like? Why you can't just answer yes or no. If the problem has no solution and the screens are always elongated on non-standard smartphones.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] timbru31 closed issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] timbru31 closed issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] timbru31 commented on issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295#issuecomment-698833162
Thanks a lot for your issue, however the issue template exists for a reason. 😊
It helps us to debug the issue further and to provide a solution much faster. With important information missing, we unfortunately can't help you.
Therefore, please edit this issue accordingly or close and create a new one and make sure to provide all the required information.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] faugusztin commented on issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
faugusztin commented on issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295#issuecomment-698863806
The template is shown when you press the button to create a bug report using the "New issue", then "Bug Report" button.
And the solution for your situation is to use NinePatch drawables, which use special pixels on the sides of the image to mark stretchable areas of the picture. Thus you can your centered content non-stretched, and sides/edges to stretch to fill the remaining space.
https://developer.android.com/guide/topics/graphics/drawables#nine-patch
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
[GitHub] [cordova-plugin-splashscreen] faugusztin commented on issue #295: The image is expanded in cases of stretched screens.
Posted by GitBox <gi...@apache.org>.
faugusztin commented on issue #295:
URL: https://github.com/apache/cordova-plugin-splashscreen/issues/295#issuecomment-698863806
The template is shown when you press the button to create a bug report using the "New issue", then "Bug Report" button.
And the solution for your situation is to use NinePatch drawables, which use special pixels on the sides of the image to mark stretchable areas of the picture. Thus you can your centered content non-stretched, and sides/edges to stretch to fill the remaining space.
https://developer.android.com/guide/topics/graphics/drawables#nine-patch
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org