FileDocCategorySizeDatePackage
Ticker1.javaAPI DocGoogle Android v1.5 Example2219Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.view

Ticker1

public class Ticker1 extends android.app.Activity implements Ticker.TickerListener
Demonstrates the Ticker view

Fields Summary
private android.widget.Ticker
mTicker
private android.widget.TextView
mTickerText
private android.widget.TextView
mStatusText
private android.widget.EditText
mUserText
android.view.View.OnClickListener
mUserTextListener
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        
        setContentView(R.layout.ticker_1);
        mTicker = (Ticker) findViewById(R.id.ticker);
        mTickerText = (TextView) findViewById(R.id.tickerText);
        mUserText = (EditText) findViewById(R.id.userText);
        mStatusText = (TextView) findViewById(R.id.statusText);

        mUserText.setOnClickListener(mUserTextListener);
        mTicker.setTickerListener(this);
    
public voidonTickerFinished(android.widget.Ticker view)


        
        mStatusText.setText("Done!");