spiegel-keyman/android/docs/engine/KMManager/setKeyboardPickerFont.md
2024-10-31 10:08:17 +07:00

591 B

title
KMManager.setKeyboardPickerFont()

Summary

The setKeyboardPickerFont() sets the font for the keyboard picker menu.

Syntax

KMManager.setKeyboardPickerFont(Typeface typeface)

Parameters

typeface
The font

Description

Use this method to set a font for the keyboard picker menu.

Examples

Example: Using setKeyboardPickerFont()

The following script illustrate the use of setKeyboardPickerFont():

    KMManager.setKeyboardPickerFont(Typeface.createFromAsset(getAssets(), "fonts/custom_font.ttf"));