TextView 竖行显示
2017-01-04 17:48
99 查看
<TextView android:text="竖直显示" android:textColor="#ffffff" android:ems="1" android:layout_width="wrap_content" android:layout_height="wrap_content" />
将layout_width设置为wrap_content,设置ems属性为1,ems属性代表一行能显示几个字符 ==>一行只能显示一个字符
参考
http://blog.csdn.net/cxmscb/article/details/51136737
相关文章推荐
- TextView如何高亮显示文本
- CheckedTextView的显示问题
- TextView显示文字过长时添加阴影渐变消失效果
- Android -- TextView与EditText 同步显示
- android--设置TextView部分文字的颜色和背景(高亮显示)
- Android基础教程(一)之------更改与显示文字标签TextView标签的使用
- android--设置TextView部分文字的颜色和背景(高亮显示)
- 更改显示TextView显示
- Android TextView中设定个别文字字体显示格式
- 【Android自学笔记】android实现TextView垂直滚动显示
- Android控件TextView显示html文件中的图片
- android----TextView如何实现无限滚动显示
- TextView总是显示跑马灯效果
- android textview 中超出屏幕宽度的字符 省略号显示
- android的TextView使用Html(图片显示)格式。。。。。。
- 解决TextView显示小方格
- Android TextView中设定个别文字字体显示格式或者高亮显示
- android textview 中超出屏幕宽度的字符 省略号显示
- Android的TextView/EditText使用CharacterStyle&SpannableString来处理图片显示、字体样式、超链接等
- 如何在TextView中显示网站的链接,而不是纯文本