<TextView
android:layout_width="160dip"
android:layout_height="wrap_content"
android:layout_marginTop="5dip"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="The Best Darme"
android:textColor="@color/white"
android:textSize="15sp" />
android:layout_width="160dip"
android:layout_height="wrap_content"
android:layout_marginTop="5dip"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="The Best Darme"
android:textColor="@color/white"
android:textSize="15sp" />
本文介绍如何使用Android的TextView实现滚动的文字显示效果,包括具体的属性设置及其作用,如marquee循环播放、水平滚动等。
353

被折叠的 条评论
为什么被折叠?



