如何添加android的标文本:标签?文本、标签、android

2023-09-06 16:03:10 作者:饮惯了烈酒

有没有办法在Android中添加标文本:标签下的应用标签?我需要像显示名称:    我的机器人

is there any way to add superscript text in android:label under Application tag? I need to display name like : Myandroid

推荐答案

请参阅此链接

Subscript并标在Android中的String

((TextView)findViewById(R.id.text)).setText(Html.fromHtml("X<sup>2</sup>"));