I am using Spanned object to process some HTML tags and showing the resulted text on TextView. But the Text is blank on TextView.
final Spanned output = Html.fromHtml(element.getText(), null,
new ElementTagHandler(element));
textView.setText(output);
In the textView if I set a constant string, Its working as expected
textView.setText("Hello"); \\ works perfectly
But when I pass in Hello its showing blank TextView.
<TextView
android:id="@+id/view123"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"/>
Am I missing any flag that needs to be updated?