Kunal P.Bharati
Kunal P.Bharati

Reputation: 969

Android: Increasing the height of textview dynamically

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

Answers (1)

Falmarri
Falmarri

Reputation: 48559

Use layout_height=wrap_content

Upvotes: 1

Related Questions