Forum Xamarin.Android

Android.Widget.TextView.Text will cause crash

I set the TextSize firstly,
guessText.SetTextSize(ComplexUnitType.Px, metrics.HeightPixels * 2 / 3); // the size is very large, >100px

then I reset the Text property several time,
guessText.Text = guessString; // the value will change every time

And BOOOM, the app crash on the phisical machine with the error in IDE:

F/libc (30311): Fatal signal 11 (SIGSEGV) at 0xf2e3204c (code=1), thread 30311

I guess there is a limit about the TextSize, **anyone know about this?
How to walkaround? **I need render very large Text on the screen.


Sign In or Register to comment.