Custom fonts and XML layouts (Android)

后端 未结 18 2264
执念已碎
执念已碎 2020-11-22 07:21

I\'m trying to define a GUI layout using XML files in Android. As far as I can find out, there is no way to specify that your widgets should use a custom font (e.g. one you\

18条回答
  •  梦谈多话
    2020-11-22 07:44

    The only way to use custom fonts is through the source code.

    Just remember that Android runs on devices with very limited resources and fonts might require a good amount of RAM. The built-in Droid fonts are specially made and, if you note, have many characters and decorations missing.

提交回复
热议问题