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

AutoComplete3

public class AutoComplete3 extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.autocomplete_3);

        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1,
                AutoComplete1.COUNTRIES);
        AutoCompleteTextView textView = (AutoCompleteTextView)
                findViewById(R.id.edit);
        textView.setAdapter(adapter);
        textView = (AutoCompleteTextView) findViewById(R.id.edit2);
        textView.setAdapter(adapter);