JAVA跑马灯实现1

        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:ellipsize="marquee"
        android:focusable="true"
        android:singleLine="true"
        android:focusableInTouchMode="true"
        android:text="@string/hello_world" />
     在string.xml文件中添加我是一个TextView我是一个长TextView我是一个长TextView  运行即可

转载于:https://www.cnblogs.com/wynet/p/5147296.html

你可能感兴趣的:(java,移动开发,后端)