I am debugging my app on a Samsung S21 FE with 1080 x 2340 pixels as described in catalog. The following code:
dim w As Int = 100%x
returns 810 while it returns 1080 in another app. Why?![Oops! :oops: :oops:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
![Roll Eyes :rolleyes: :rolleyes:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I've already tried GetDeviceLayoutValues.Width and I got the same result. Where did I mistake?
dim w As Int = 100%x
returns 810 while it returns 1080 in another app. Why?
I've already tried GetDeviceLayoutValues.Width and I got the same result. Where did I mistake?