为什么设置textView的width的属性,如下:
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:maxEms="1"
android:text="第一是谁啊"
android:textSize="36sp" />
这样字体显示的是竖着显示的
如果把width改成match_parent的话字体就横着显示了,这是为什么呢?
http://www.tuicool.com/articles/EjuYFz
android:maxEms="1" 表示一行最多显示一个字符,具体可以看下这篇博客: