如果要做第三个走马灯效果的一行文字,该怎么做?
如果要做第三个走马灯效果的一行文字,因为第二个textview没有id,是layout_below="@+id/textview1",所以如果有第三个,该怎么设置?
如果要做第三个走马灯效果的一行文字,因为第二个textview没有id,是layout_below="@+id/textview1",所以如果有第三个,该怎么设置?
 
                            2017-07-05
<com.example.lenovo.textview.MarqueeText
    android:id="@+id/textview1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/text_view1"
    android:singleLine="true"
    android:ellipsize="marquee"
    android:focusable="true"
    android:focusableInTouchMode="true"/>
<com.example.lenovo.textview.MarqueeText
    android:id="@+id/textview2"
    android:layout_below="@id/textview1"
    android:layout_marginTop="10dp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/text_view2"
    android:singleLine="true"
    android:ellipsize="marquee"
    android:focusable="true"
    android:focusableInTouchMode="true"/>
<com.example.lenovo.textview.MarqueeText
    android:id="@+id/textview3"
    android:layout_below="@id/textview2"
    android:layout_marginTop="10dp"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/text_view2"
    android:singleLine="true"
    android:ellipsize="marquee"
    android:focusable="true"
    android:focusableInTouchMode="true"/>
举报