SyntaxFix
Write A Post
Hire A Developer
Questions
Try this code for Kotlin
val display = windowManager.defaultDisplay val size = Point() display.getSize(size) var DEVICE_WIDTH = size.x var DEVICE_HEIGHT = size.y