如何让一个TextView文本垂直 [英] How to make a TextView Text vertical
本文介绍了如何让一个TextView文本垂直的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要为我的应用程序垂直标签。是否有一个属性,使文本垂直?这就是我的意思是垂直标签:
I want a vertical label for my app. Is there a property to make text vertical? Here's what I mean vertical label:
S
t
a
c
k
o
v
e
r
f
l
o
w
由于前方。
推荐答案
一个简单的解决方案可能是插入 \ñ
每个字符后,并确保在该高度设置为 FILL_PARENT
。
A simple solution may be to insert a \n
after each character, and make sure that the the height is set to fill_parent
.
这篇关于如何让一个TextView文本垂直的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文