I use a Script for a Medical Directory for Students and i'm a beginner in android.
I use a Firebase database to store the data for the app. so i wrote html tags like
<b>Anatomy</b>
but the app doesn't format the html tag
private void initView() {
setContentView(R.layout.activity_word_detail);
tvWord = findViewById(R.id.textview_word);
tvWordMeaning = findViewById(R.id.textview_word_meaning);
tvType = findViewById(R.id.textview_word_type);
tvSynonym = findViewById(R.id.textview_synonym);
tvAntonym = findViewById(R.id.textview_antonym);
tvExample = findViewById(R.id.textview_example);
voiceIcon = findViewById(R.id.voice_icon_detail);
favorite=findViewById(R.id.favorite_icon_detail);
unFavorite=findViewById(R.id.unfavorite_icon_detail);
}
<TextView
android:id="@+id/textview_example"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="32dp"
android:textColor="@color/blue"
android:text="@string/example_text"
android:textSize="14sp"
android:paddingBottom="10dp"
android:autoLink="web"
android:linksClickable="true"
/>
i don't know what to do that the TextView with id textview_example shows the results with html format