• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Increase textview height

 
Ruben Matt
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

Is there any way of increase the size of a TextView depending on the amount of text that exists? I tried "wrap_content" and doesnt work, if the text is too big i can not see the rest. The text comes from the DB.
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wrap-content is the correct way to go, but there are likely other constraints on the size of the view. Can you provide the layout you are using?
 
Ruben Matt
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for replying.

It's working now, I had settings that were in conflict with each other.
This is how i have now.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic