StaticLayout.getHeight()
时间: 2024-05-24 07:11:30 浏览: 118
prototype.js常用函数详解
StaticLayout.getHeight() is a method in Android that returns the total height of the layout. StaticLayout is a class that is used to create a text layout that does not change. This method is used to get the height of the text layout so that it can be used to set the height of the view that displays the text layout. The height returned by this method is the total height of all the lines of text in the layout.
阅读全文