0

と を使用するDigital clocktextview marqueetextview 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*/

両方を同時に使用することはできませんか、または解決策はありますか?

4

1 に答える 1