我不确定,如果"正在运行字符串"正确的名称.
我试着解释一下,我的意思.
我的布局中有一个TextView,并希望在那里有文本,它从rigth到左,再次,一次又一次地运行.
我thougt,我只是应该启用选框,但文本保持而不是运行:(
这是我的TextView代码:
<TextView
android:id="@+id/text_ticker"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/grey0"
android:textColor="@color/black"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:layout_marginTop="5dp"
android:padding="10dp"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true">
</TextView>
Run Code Online (Sandbox Code Playgroud)
谢谢,
穆尔
| 归档时间: |
|
| 查看次数: |
7806 次 |
| 最近记录: |