How do I make my font bold on Android?

How do I make my font bold on Android?
Answer
4 ways to make Android TextView bold- Full answer is here. <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”TEXTVIEW 1″ android:textStyle=”bold” /> Use bold. italic for bold and italic. textview2.setTypeface(null, Typeface.BOLD); textview2.setText(“TEXTVIEW 2”);
 

Tìm kiếm

Back
Top