Android技术集

Android 控件TextView的属性

2017-06-16  本文已影响10人  Swift社区

文本跑马灯

      <TextView
            android:id="@+id/textview"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="这里的文本可以重复滚动出现"
            android:textSize="16dp"
            android:ellipsize="marquee"
            android:marqueeRepeatLimit="marquee_forever"
            android:focusable="true"
            android:focusableInTouchMode="true"/>

文本字母为大写

      android:textAllCaps="true"

希望可以帮助大家
如果哪里有什么不对或者不足的地方,还望读者多多提意见或建议
Android技术交流群:591625129

上一篇 下一篇

猜你喜欢

热点阅读