你能帮我修复一个小错误吗?我有一个文本视图,我想在一行中水平滚动它。我已经使用了这段代码,但它不起作用。有人可以帮我吗?
<TextView
android:id="@+id/SpeseHeader_2"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1"
android:textColor="#000000"
android:scrollHorizontally="true"
android:ellipsize="marquee"
android:singleLine="true"
android:textAppearance="?android:attr/textAppearanceLarge" />