Comment mettre du texte en se déplaçant de gauche à droite dans Android?

J'utilise ce code pour le texte bouger et il se déplace correctement à partir de la droite vers la gauche.

Néanmoins, je tiens à rendre le texte dans TextView déplacer de gauche à droite.

Voici mon code actuel:

<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"
/>

Comment puis-je modifier ce code afin que le texte se déplace de gauche à droite?

  • U veulent serrer le texte ou tout simplement envie de déménager????