[Solution found!] 这将返回按钮上文本的默认大小(以像素为单位)。 科特林val size = Button(this).textSize 爪哇float size = new Button(this).getTextSize();
確定! 回上一頁