我试图使用选框但它不起作用,这是我的代码......有人能看到问题吗?
<TextView
android:id="@+id/lblTitle"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true"
android:layout_width="140dp"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="15dp"
android:gravity="center"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:text="Book Title"
android:textColor="#FFFFFF"
android:textSize="12dp" />
我在运行时设置了这个 textview 的文本。我使用此链接中的代码 TextView Marquee not working