Android Question correct positioning and size independent of the device

ThePuiu

Active Member
Licensed User
Longtime User
I want to display a 480x105 pixel logo in the middle of the window and the image to be on the full width of the screen if it has the width of 480 or to center without destroying the aspect ratio if the screen size is larger of 480. Which is the best approach? Variant is 320x480x1 and AutoScaleAll is enabled.
Thank you!
 

JohnC

Expert
Licensed User
Longtime User
Don't use anchors on the imageview displaying the image, and use module code or a designer script to center the imageview on the display.
 
Upvote 0
Top