と を使用するDigital clock
とtextview marquee
、textview marquee
機能しません。デジタル時計を削除すると、完全に機能します。
TextView tv = new TextView(this);
tv.setLayoutParams(paramsSong);
tv.setEllipsize(TruncateAt.MARQUEE);
tv.setFocusableInTouchMode(true);
tv.setFreezesText(true);
tv.setSingleLine(true);
tv.setMarqueeRepeatLimit(-1);
tv.setText("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa");
tv.setSelected(true);
rl.addView(tv);
DigitalClock dg = new DigitalClock(this);
rl.addView(dg);
/*if I remove digital clock then it works*/
両方を同時に使用することはできませんか、または解決策はありますか?