how do i underline every character and set number

2019-09-26 12:44发布

问题:

i want to give hint for last 4 characters only.Please provide layout for the same

回答1:

Maybe something like this

TextView theTextView = new TextView(this);

theTextView.setText(Html.fromHtml("<u>3</u> <u>2</u> <u>3</u> <u>5</u> <u>1</u>"));