textview跑马灯
1 <TextView 2 android:id="@+id/tv_home_index_textad" 3 android:layout_width="wrap_content" 4 android:layout_height="wrap_content" 5 android:layout_marginLeft="5dp" 6 android:layout_marginRight="5dp" 7 @ android:ellipsize="marquee" 8 @ android:marqueeRepeatLimit="marquee_forever" 9 @ android:singleLine="true" 10 android:textColor="#ff000000" 11 android:textSize="13sp" >
tvTextad.setSelected(true);