<LinearLayout android:id="@+id/information_plate"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="horizontal" android:background="@drawable/scrolling_message">
<TextView android:layout_width="fill_parent" android:padding="10dip"
android:layout_height="wrap_content"
android:text="@string/main_information"
android:textSize = "22sp"
android:textColor="#000000"
android:singleLine="true" android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever" android:focusable="true"
android:selectAllOnFocus="true"
android:clickable="true" android:background="@drawable/scrolling_message_bg" android:focusableInTouchMode="true" android:freezesText="true">
<requestFocus/>
</TextView>
</LinearLayout>
这样两句要是没有得到焦点是不是滚动的....
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
最关键就2句吧