0

I have a textView that fits perfectly on my Galaxy Nexus and it takes up the whole screen. I'm trying the application out on lower resolution devices and my text is getting cutoff. What's the easiest way to alleviate this?

EGHDK
  • 17,818
  • 45
  • 129
  • 204

3 Answers3

1

Stick it inside of a ScrollView.

EDIT: If you can't use a ScrollView, something like this might help. Basically, you would extend TextView and it would recalculate the text size whenever the size of the view changes.

Community
  • 1
  • 1
Karakuri
  • 38,365
  • 12
  • 84
  • 104
  • Ah Yes. Simple and fairly straight forward, but I forgot to mention that as my only guideline, I cannot have a Scroll View. – EGHDK Apr 01 '13 at 16:21
0

If you can't put in a ScrollView or make in 2 lines, another option is to have a different smaller text for lower resolutions.

Marcio Covre
  • 4,556
  • 2
  • 22
  • 24
0

You can do this on java by writing with \n it will gets new line.it automatically looks like scroll view.

Pavan tej
  • 183
  • 1
  • 2
  • 13