package com.beem.project.beem.ui;

import com.beem.project.beem.R;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

public class ChangeStatus extends Activity {
    
    private static final String[] mStatus = {"Available for chat", "Available", "Busy", "Away",
	"Unavailable", "Disconnected"};
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.changestatus);
        
        Spinner s1 = (Spinner) findViewById(R.id.ChangeStatusSpinner);
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
                android.R.layout.simple_spinner_item, mStatus);
        adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
        s1.setAdapter(adapter);
    }
}
