Android中TextView中做文字的垂直显示

<TextView
            android:text="竖直显示"
            android:textColor="#ffffff"
            android:gravity="center"
            android:textSize="30sp"
            android:ems="1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />

ems代表每一行可以显示几个字符,这样就可以做到文字垂直方向显示了

0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x