Question

How can I attach a label to a scrollview at design time (not in the designer) So I can create a label but the content of my 100% widthx 100% height label, the long text goes off the screen. Is there a simple way to make the label scroll without getting too complex? Much appreciated.

Was it helpful?

Solution

Not sure that I exactly understand your question. You should put the label on a ScrollView in order to make it scrollable. A tutorial about ScrollView is available here.

You can use StringUtils.MeasureMultilineTextHeight to calculate the required height.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top