Is it possible for TextView Marquee in a Widget that extends AppWidgetProvider?

Solution 1:

Solved. This is how it is done

In the xml for the text view you need to have a tag This basically I think is the same as getSeleted(true);

So the code should be as followed:

<TextView android:id="@+id/fact" android:layout_width="200dp"
        android:text="Loading... More text to see if it spans or not and want more"
        android:singleLine="true" 
        android:ellipsize="marquee"
        android:marqueeRepeatLimit ="marquee_forever"
        android:scrollHorizontally="true"
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:duplicateParentState="true">
    <requestFocus android:focusable="true" android:focusableInTouchMode="true"
        android:duplicateParentState="true" />
</TextView>