Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想写一个游戏。这是我的问题:如何在 android 中显示数字,如 Temple Run 和其他 android 游戏在角落显示分数?我不想使用纯文本视图,它很蹩脚,不适合整个 UI。
您可以做的是找到一个花哨的字体并将其应用于 textview
像这样的东西
Typeface customtypeface = Typeface.createFromAsset(getAssets(), "helvetica-neue-ultra-light.otf"); textview.setTypeface(customtypeface);