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

AutoComplete2

public class AutoComplete2 extends android.app.Activity

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

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

        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);