Answers for "textview android bold"

2

android font bold xml

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textStyle="bold"
    android:text="@string/app_name"
    android:layout_gravity="center" 
/>
Posted by: Guest on October-08-2020
5

how to set text style to bold in android programmatically

textView.setTypeface(null, Typeface.BOLD_ITALIC);
textView.setTypeface(null, Typeface.BOLD);
textView.setTypeface(null, Typeface.ITALIC);
textView.setTypeface(null, Typeface.NORMAL);
Posted by: Guest on September-08-2020

Code answers related to "textview android bold"

Browse Popular Code Answers by Language