---
title: "跑马灯"
author: "WORM"
date: "2013-01-27T17:55:01Z"
tags: []
categories: ["移动开发"]
slug: "untitled"
draft: false
lastmod: "2013-01-27T17:55:01Z"
id: 1776420
url: "https://worm.iteye.com/blog/1776420"
---

&lt;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="这才是真正的文字跑马灯效果"  
        &gt;  
    &lt;/TextView&gt;