ここに状況があります.2つのテキストビューを含むウィジェットがあり、その幅がレイアウトの幅を超えると、テキストをスクロールします。問題は、マーキーがボトムテキストビューで動作していますが、マーキーは上部のテキストビューでは機能していないことです。私はコードスニペットを添付しています。私が間違っていることを教えてくれませんか?マーキーのテキストがウィジェットで動作しない
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/left"
android:layout_width="97dip"
android:layout_height="fill_parent" >
<TextView
android:id="@+id/place"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dip"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:lines="1"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:textColor="@color/white" >
</TextView>
<TextView
android:id="@+id/weather_report"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/place"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:lines="1"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:textColor="@color/grey" >
</TextView>
</RelativeLayout>
あなたは以下のリンクを参照することができます。 http://stackoverflow.com/questions/9568023/marquee-not-working-while-using-in-multiple-textviews/9568638#9568638 – YshakPK