android textview怎样实现文字跑马灯效果(垂直移动)

解决方案 »

  1.   

    可以参考一下这个~~~~
    http://bigcat.easymorse.com/?p=1358
      

  2.   

    <TextView android:layout_width="100px"
            android:layout_height="wrap_content"
            android:textColor="@android:color/white" 
            android:ellipsize="marquee" 
            android:focusable="true" 
            android:marqueeRepeatLimit="marquee_forever" 
            android:focusableInTouchMode="true" 
            android:scrollHorizontally="true"
            android:text="ABCDEFGHIJKMNOPQRSTUVWXYZ"
            >
        </TextView>
      

  3.   

    以前也遇到过,是用animation实现的,或者继承一个textview,里面用一个thread画出来应该可行吧
      

  4.   

    继承一个View。。在Ondraw里drawText。。自己控制