-1

I am making a keyboard app (general purpose, not just for a specific textview). Currently when the user presses a key the following code happens:

getCurrentInputConnection().commitText("string",1);

Is there anyway I can set the font of the input string? That way if the user presses the button instead of sending a message with the default font it will send it with a custom font.

Zong
  • 6,160
  • 5
  • 32
  • 46
Foobar
  • 7,458
  • 16
  • 81
  • 161

1 Answers1

0

You can't set the font of a string, but you usually can set the font of the containing object which will display the string

Jessie Lulham
  • 110
  • 12