Android Ellipsize marquee is not working except on the first item
<p>I am trying to design a staggered layout manager for recycler view and each item of the recycler view inflates a cardview. The problem is whenever I try to apply marquee in my item, the only first item gets the expected marquee behavior and other items remain static. Isn't it supposed to be applied to every item?   </p>

<p>I have followed this</p>

<p>XML</p>

<pre><code>&lt;TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/job_clicktoseedetails"
                android:layout_alignParentRight="true"
                android:layout_below="@+id/job_deadline"
                android:text="Click To See The Details of the job"
                android:textColor="@android:color/holo_blue_dark"
                android:paddingBottom="5dp"
                android:paddingRight="5dp"
                style="@style/Widget.SampleMessageTile"
                /&gt;
</code></pre>

<p>Styles.xml</p>

<pre><code>&lt;style name="Widget.SampleMessageTile"&gt;

        &lt;item name="android:singleLine"&gt;true&lt;/item&gt;
        &lt;item name="android:ellipsize"&gt;marquee&lt;/item&gt;
        &lt;item name="android:marqueeRepeatLimit"&gt;marquee_forever&lt;/item&gt;
        &lt;item name="android:focusable"&gt;true&lt;/item&gt;
        &lt;item name="android:focusableInTouchMode"&gt;true&lt;/item&gt;
        &lt;item name="android:scrollHorizontally"&gt;true&lt;/item&gt;
    &lt;/style&gt;
</code></pre>

<p><a href="https://i.stack.imgur.com/ryyOx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ryyOx.png" alt="enter image description here"></a></p>