Was ist die Standardschriftfamilie in Android?

In API 16 wurde Jellybean Roboto als verfügbare Schriftfamilie eingeführt. Sehen Sie, was "neu" in Android 16 istHie.

Angabeandroid:fontFamily="sans-serif" (Roboto in API 16+) auf einemTextView der StandardfontFamily desTextView?

Ist

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

gleichwerti

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:fontFamily="sans-serif" />

?

VonMaterial Design Typografie Website:

"Roboto und Noto sind die Standardschriften für Android und Chrome."

Von Wiki,

"Roboto ist eine serifenlose Schriftfamilie, die von Google als Systemschriftart für das mobile Betriebssystem Android entwickelt wurde."

Ich sehe nicht in den Dokumenten, was der StandardfontFamily von Android ist. Siehe Referenzen:

https: //developer.android.com/reference/android/R.attr.html#fontFamilGültige Werte für Android: fontFamily und was sie zuordnen?https: //developer.android.com/about/versions/android-4.1.html#Fonthttp: //alvinalexander.com/photos/android-roboto-fonts-example

Antworten auf die Frage(2)

Ihre Antwort auf die Frage