SyntaxFix
Write A Post
Hire A Developer
Questions
This will return default size of text on button in pixels.
val size = Button(this).textSize
float size = new Button(this).getTextSize();