문제

I am making a dialer (phone) app in App Inventor. I wanted to put the ABC after the number (1 abc), so that people could dial stuff like 1-800-FLOWERS. I would like to know how to make the abc font size smaller in the same button?

도움이 되었습니까?

해결책

In App Inventor you can't change the font size in the same button.text property.
Alternatively you could use an image with your text and put it as button.image.

다른 팁

You can set a Html String to a text view

text.setText(Html.fromHtml("<font size=\"32\">1</font><font size=\"20\">abc</font>"));

You can refer to this for details

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top