Class

DeviceFontFamilyName

An Android system installed font family name as used by Typeface.create.

Source set: Android
public class DeviceFontFamilyName(public val name: String)

An Android system installed font family name as used by Typeface.create.

See /system/etc/fonts.xml and /product/etc/fonts_customization.xml on a device.

Parameters

name System fontFamilyName as passed to Typeface.create

Throws: IllegalArgumentException

if name is empty

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: