Reputation: 969
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.
Upvotes: 0
Views: 577
Reputation: 48559
Use layout_height=wrap_content
layout_height=wrap_content
Upvotes: 1