Android TextView Bold

May 5, 2019

XML

<TextView
    android:id="@+id/textView"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"f
    android:textStyle="bold"
/>

Code / Programatically

textView.setTypeface(textView.getTypeface(), Typeface.BOLD);
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.