The default phone size for PowerApps is 640x1136. From the article you has provided, we know that If we unlock the aspect ratio, the app will adjust to the aspect ratio of the device on which it's running.
On your Nexus5 phone how is the image displayed? Could you show me a screenshot?
As I don’t have a Nexus5 phone, I test this issue on my iPhone6. I create the App on PowerApps studio according to your description, then I open it on my phone. The Screen1.Width and Screen1.Height value shown in the Textbox is the default size.
Best regards, Mabel Mao
Community Support Team _ Mabel Mao If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
my header image is the green box bordered with black line, the red color is the background of the image
my expectation is: no red color is visible,
if the width is 640 the height must be 1054 (becaue of aspect ratio of Nexus5)
1136/1054 * 200 = 215.56
So i tried to set 215.56 as height for image, and the result was i expected, no visible red background on Nexus5 (ofc the red background appeared on 9:16 screen now)
so i think if i set 200, it is realy recalculated to 185.56, 215.56 recalculated to 200, which is the good height for image if the width is 640. This recalculating based on default screen height and the real height aspect ratio, and the screen width normaized to 640.
It would be good for me, if i know the aspect ratio of the current screen.
So, the topic name should change to "the Screen.Height is always 1136"