在Android Studio中若想实现跑马灯效果,只需要添加以下的绿色代码: <TextView android:layout_width="match_parent" android:layout_height="match_parent"