在我的应用程序中,我必须实现自动滚动文本视图,我提到了this链接。在android中滚动Textview
现在我有一个根据我的要求滚动tetxview.But是,我有一个字符串数组(我已经解析了,我有一些字符串)..考虑该阵列可以
string[] array=new string{"fgsdfd","gdfghdjhsd","gdfjhsgfhds"};
现在我想这个数组将显示在该文本视图中(它将自动滚动)。
我想是这样的:
fgsdfd gdfghdjhsd gdfjhsgfhds------------------>this will scroll automatically
这是我的TextView(滚动):
<TextView
android:text="Really Long Scrolling Text Goes Here.... ..... ............ .... ...."
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:id="@+id/TextView03"
android:padding="5dip"
android:layout_width="wrap_content"
android:textColor="#000000"
android:layout_height="wrap_content" />
如何设置字符串数组到tetxview..Please帮助我。
感谢您的回答.. – Subburaj