MobileScreen.Size

From Xojo Documentation

Method

MobileScreen.Size() As Size

Supported on Mobile.

The size (in points) of the entire Screen area.

Sample Code

Get the size of the Screen:

Var screenSize As String = Self.Size.Width.ToString + " by " + Self.Size.Height.ToString