Creating A Digital Clock Widget With A Custom Font

前端 未结 3 2026
野趣味
野趣味 2021-01-01 23:49

I\'m trying to create a digital clock widget with a custom font. And this has proven to be the biggest challenge of my Android experience. (Thought it would be as simple as

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-02 00:46

    Use this link to get Textclock below API level 17. You could use .setTypeface(Typeface.createFromAsset(getAssets(),fonts/font.ttf")); with it.

提交回复
热议问题