How to create vertically aligned superscript and subscript in TextView

后端 未结 6 883
醉话见心
醉话见心 2020-12-08 22:37

In the example of image below:

\"enter

How can I make both the superscript and

6条回答
  •  一个人的身影
    2020-12-08 23:31

    use this code for solution....

    TextView txt = (TextView)findViewById(R.id.txt_label); txt.setText(Html.fromHtml("94Be"));

提交回复
热议问题