Hello,
Welcome to our Microsoft Q&A platform!
Try setting the height of the Queen chesses according to the screen size programmatically.
Here is the sample code, you could refer to it.
int displayWidth = WindowManager.DefaultDisplay.Width;
var the_queen = ...;
var layoutParameter = the_queen.LayoutParameters;
layoutParameter.Height = displayWidth / 8;
the_queen.LayoutParameters = layoutParameter;
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.