Linear layout: warning memory is limited
ListView + Array adapter
Create more rows on-demand by reusing views in the scrap pile
Scroll to see more at the top of the list
ArrayAdapter<String> itemsAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, words); ListView listView = (ListView) findViewById(R.id.list); listView.setAdapter(itemsAdapter);
concrete class, abstract class, interface
Spinner(drop-down menu) -> ArrayAdapter
<?xml version="1.0" encoding="utf-8"?> <GridView xmlns:android="http://schemas.android.com/res/android" android:layout_width="match_parent" android:lyout_height="match_parent" android:paddingBottom="16dp" android:paddingLeft="16dp" android:paddingRight="16dp" android:paddingTop="16dp" android:numColumns="2" android:orientation="vertical" android:id="@+id/list" tools:context="com.example.android.miwok.NumbersActivity"> </GridView>