Skip to content Skip to sidebar Skip to footer

Android - Textview Dynamic Height Issue

I have a RelativeLayout whose layout_height is set to 'wrap_content' and inside that I have a TextView whose text is set at runtime. I have set android:layout_height='wrap_content'

Solution 1:

change property of textview Input Type:textMultiline

You can use also this

textView1.setText(Html.fromHtml("Titleeee"));

here i found a list of text that fromHtml will convert

http://commonsware.com/blog/Android/2010/05/26/html-tags-supported-by-textview.html

Post a Comment for "Android - Textview Dynamic Height Issue"