Q:

How to flush the shown text in marquee?

I have created a marquee text using TextView in android. My requirement is to flush the shown text in the marquee and append new text to it. How to flush the shown text?

A:

@Hanry You are right but i think it will marquee only if it gains focus.. i had this problem earlier.. what i did is replaced the textview with webview and used  marquee tag to make the text scroll.
Edit : Response to sangita
        webview = (WebView) findViewById(R.id.webview);
        webview.getSettings().setDefaultFontSize(26);
        webview.setBackgroundColor(R.color.Black);
        webview.setOnTouchListener(new OnTouchListener() {

            public boolean onTouch(View v, MotionEvent event) {
                //DO actions here
            }
        });
        String content = "MARQUEE TEST";

        String summary = "<html><FONT color='#fdb728' FACE='courier'><marquee behavior='scroll' direction='left' scrollamount=10>"
                + content + "</marquee></FONT></html>";
        webview.loadData(summary, "text/html", "utf-8");

