W mojej aplikacji muszę zaimplementować automatycznie przewijany widok tekstowy, poleciłem link this.Przewijanie TextView w Androidzie
teraz mam przewijanie tetxview.But według mojego wymogiem jest to, że mam tablicę ciągów (Mam analizowany i mam jakiś ciąg znaków) .. Rozważmy macierz może być
string[] array=new string{"fgsdfd","gdfghdjhsd","gdfjhsgfhds"};
Teraz chcę ta tablica do wyświetlenia w tym widoku tekstowym (który będzie przewijany automatycznie).
chcę tak:
fgsdfd gdfghdjhsd gdfjhsgfhds------------------>this will scroll automatically
To mój TextView (przewijanie):
<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" />
Jak mogę ustawić tablicę sznurka do tetxview..Please mi pomóc.
Dzięki za odpowiedź .. – Subburaj