How is StaticLayout used in Android?
StaticLayout (similar to DynamicLayout and BoringLayout) is used to layout and draw text on a canvas. It is commonly used for the following tasks: Measuring how big multiline text would be after being laid out. Drawing text on a bitmap image. Making a custom view that handles its own text layout (as opposed to making … Read more