Hi all,
Is anyone know how to make a 'left to right' widget marquee ?
In my Xml Layout :
<TextView
android:id="@+id/widgetservice_labelscroll"
android:layout_width="match_parent"
android:layout_height="20dp"
android:layout_alignParentRight="true"
android:layout_above="@+id/widgetservice_image"
android:singleLine="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:scrollHorizontally="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit ="marquee_forever"
android:textDirection="anyRtl"
android:focusable="true"
android:focusableInTouchMode="true"
android:text=""
android:textColor="#FFFFFF"
android:textSize="12sp"
android:duplicateParentState="true">
<requestFocus android:focusable="true" android:focusableInTouchMode="true" android:duplicateParentState="true" />
</TextView>
When i try with hebrew language, marquee is always on 'Right to Left' and never in other side !!
Any solutions ?
Don't forget it is on a real widget...
Many thanks for any help.
Thierry
Is anyone know how to make a 'left to right' widget marquee ?
In my Xml Layout :
<TextView
android:id="@+id/widgetservice_labelscroll"
android:layout_width="match_parent"
android:layout_height="20dp"
android:layout_alignParentRight="true"
android:layout_above="@+id/widgetservice_image"
android:singleLine="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:scrollHorizontally="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit ="marquee_forever"
android:textDirection="anyRtl"
android:focusable="true"
android:focusableInTouchMode="true"
android:text=""
android:textColor="#FFFFFF"
android:textSize="12sp"
android:duplicateParentState="true">
<requestFocus android:focusable="true" android:focusableInTouchMode="true" android:duplicateParentState="true" />
</TextView>
When i try with hebrew language, marquee is always on 'Right to Left' and never in other side !!
Any solutions ?
Don't forget it is on a real widget...
Many thanks for any help.
Thierry