'force the view in center of the screen
view.left = 50%x - view.width/2
view.top = 50%y - view.height/2
'you can also determine if the device is tablet or phone
If GetDevicePhysicalSize > 6 Then
'7'' or 10'' tablet
Else
'phone
End If
Sub GetDevicePhysicalSize As Float
Dim lv As LayoutValues
lv = GetDeviceLayoutValues
Return Sqrt(Power(lv.Height / lv.Scale / 160, 2) + Power(lv.Width / lv.Scale / 160, 2))
End Sub