我使用这段代码使文本移动,并且它可以从右到左正确地运动。
不过,我想让TextView中的文本从左到右移动。
这是我的当前代码:
不过,我想让TextView中的文本从左到右移动。
这是我的当前代码:
<TextView
android:id="@+id/mylinenews"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="textmoving textmoving textmoving textmoving textmoving textmoving textmoving textmoving textmoving textmoving "
android:textColor="#fff"
/>
我应该如何修改这段代码,让文字从左到右移动?