Android跑马灯源码免费下载
看一下效果图
源码下载地址
https://download.csdn.net/download/m0_47649387/12444186
<( ̄︶ ̄)↗请在浏览器打开
源码是免费的哦😀😀
下面开始教程
在main.xml界面加入下面的代码
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<TextView
android:text="888888888888888888888888888888888888888888888888888888888888888888888888889888888888888888888888888888"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_margin="10dp"
android:textColor="#36773A"/>
</LinearLayout>
然后运行就可以了后续还会有更多源码开源😉😉