diff options
Diffstat (limited to 'docs/html/guide/tutorials/views/hello-autocomplete.jd')
-rw-r--r-- | docs/html/guide/tutorials/views/hello-autocomplete.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/tutorials/views/hello-autocomplete.jd b/docs/html/guide/tutorials/views/hello-autocomplete.jd index fba1ad887506..de3ba290590d 100644 --- a/docs/html/guide/tutorials/views/hello-autocomplete.jd +++ b/docs/html/guide/tutorials/views/hello-autocomplete.jd @@ -40,7 +40,7 @@ protected void onCreate(Bundle savedInstanceState) { AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit); ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, - android.R.layout.simple_dropdown_item_1line, COUNTRIES); + android.R.layout.simple_dropdown_item_1line, R.array.planets); textView.setAdapter(adapter); } </pre> |