ITeye博客

TextView 学习

rafale35 · 2011-03-27 22:22 · Android · 移动开发 · Markdown

自动横向滚动效果

 

	<TextView
		android:id="@+id/directionTxt"
		android:singleLine="false"
		android:text="@string/testcn1"
		android:layout_marginLeft="20px"
		android:layout_width="280px"
		android:layout_height="40px"
		android:scrollHorizontally="true"
		android:ellipsize="marquee"
		android:marqueeRepeatLimit="marquee_forever"
		android:focusable="true"
		android:selectAllOnFocus="true"
		android:focusableInTouchMode="true"
		android:freezesText="true" />

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。