tags:

views:

33

answers:

1

Hello All,

I have a class which inflates linearlayout. The inflated xml contains a textview.

I want to change the height of that textview dynamically as per the content.

+1  A: 

Use layout_height=wrap_content

Falmarri