ハイ、 私はそのページでカスタムリストビューを持っている水平スクロールテキストを持っている必要があります。しかし、横書きのテキストはスクロールしません。だから誰か助けてください。
私は以下のxmlコードを使いました。
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:layout_x="2px"
android:layout_y="690px"
android:background="@drawable/bg_1"
android:textColor="#cc0000"
android:scrollHorizontally="true"
android:singleLine="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:marqueeRepeatLimit="marquee_forever"
android:ellipsize="marquee"
/>
前もって感謝します。
回答:
回答№1は0タイプミスを「省略」していませんか?「省略」を意味していませんか。
回答№2の場合は0
set listview focusableはfalseです。
listview.setfocusable(false);