i was trying to work out on my spinner tutorial but it doesnt seem to show the header. can anyone guide me on which part that i might have overlook?
public class HelloSpinnerActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        spinnertest = (Spinner) findViewById(R.id.Spinner01);
        ArrayAdapter<CharSequence> adapter = ArrayAdapter.createFromResource(
                this, R.array.Planets, android.R.layout.simple_spinner_item);
        adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
        spinnertest.setAdapter(adapter);
        spinnertest.setOnItemSelectedListener(new MyOnItemSelectedListener());
    }
    public class MyOnItemSelectedListener implements OnItemSelectedListener {
        public void onItemSelected(AdapterView<?> parent,
            View view, int pos, long id) {
          Toast.makeText(parent.getContext(), "The planet is " +
              parent.getItemAtPosition(pos).toString(), Toast.LENGTH_LONG).show();
        }
        public void onNothingSelected(AdapterView parent) {
          // Do nothing.
        }
    }
}
main.xml
<Spinner 
    android:id="@+id/Spinner01"
    android:layout_height="wrap_content"
    android:layout_width="fill_parent"
    android:prompt = "@string/planet_prompt"
    android:entries ="@array/Planets">
</Spinner>
strings.xml
<string name="app_name">Spinner</string>
 <string name="planet_prompt"> Select a planet </string>
<string-array name="Planets">
    <item>Mercury</item>
    <item>Venus</item>
    <item>Earth</item>
    <item>Mars</item>
    <item>Jupiter</item>
    <item>Saturn</item>
    <item>Uranus</item>
    <item>Neptune</item>
    <item>Pluto</item>
</string-array>
 
     
     
    