版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/ToOak_And/article/details/52609359
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="no: Hello World! 你好" />
<TextView
android:typeface="monospace"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="monospace: Hello World! 你好" />
<TextView
android:typeface="serif"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="serif: Hello World! 你好" />
<TextView
android:typeface="sans"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="sans: Hello World! 你好" />
<TextView
android:typeface="normal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="normal: Hello World! 你好" />