SyntaxFix
Write A Post
Hire A Developer
Questions
On Kotlin you can set width and height of any view directly using their virtual properties:
someView.layoutParams.width = 100 someView.layoutParams.height = 200