내 응용 프로그램에서 나는 자동 스크롤 텍스트 뷰를 구현해야하는데, 나는 this 링크를 참조했다. 이제android에서 스크롤 Textview
나는 내 요구에 따라 tetxview.But 스크롤 한 내가 ... (I 구문 분석하고 난 일부 문자열이) 문자열 배열을 가지고 배열 지금 내가 원하는
string[] array=new string{"fgsdfd","gdfghdjhsd","gdfjhsgfhds"};
수 있습니다 고려한다는 것입니다 이 배열은 해당 텍스트 뷰에 표시됩니다 (자동으로 스크롤 됨).
나는 다음과 같이합니다 : 나는 tetxview..Please에 문자열의 배열을 설정하는 방법
<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" />
날 도와 : 이것은 (스크롤) 내 텍스트 뷰입니다
fgsdfd gdfghdjhsd gdfjhsgfhds------------------>this will scroll automatically
.
답변 해 주셔서 감사합니다. – Subburaj