I have a large story in String format. I want to show the text in gallery. What I want to do is to slice all the text in such a way that all my view in gallery show the text whi
Graphics.getFontMetrics and FontMetrics.stringWidth will help you to determine real size of text on the screen. Based on this calculation you can determine how long shown substring should be.