Hello i have to make a spinner witch have 3 choise and is not show..

73431225.png

public void onClick(View v) {
 
    	String[] srv ={"facebook", "msn", "gmail"};
    	service = (Spinner)findViewById(R.id.service);
    	username = (TextView)findViewById(R.id.usname);
    	String usna = username.getText().toString();
    	password = (TextView)findViewById(R.id.pasword);
    	String pass = password.getText().toString();
    	set = (Button) findViewById(R.id.set); 
 
 
 
    	//ArrayAdapter<CharSequence> adapter =  ArrayAdapter.createFromResource(xmppsettings.this.getContext(), R.array.mnth_array, android.R.layout.simple_spinner_item);
         ArrayAdapter<String> adapter = new ArrayAdapter<String>(xmppsettings.this.getContext() , android.R.layout.simple_spinner_item, srv);         
    	adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
    	service.setAdapter(adapter);        
 
 
        set.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
                String o = (String) service.getSelectedItem ();
 
               if (o == "facebook") {
            	   host="chat.facebook.com";
            	   port=Integer.parseInt("5222");
            	   servs="facebook";
            	  	}
               else if (o=="msn"){
            	   host="messenger.hotmail.com";
            	   port=Integer.parseInt("1863");
            	   servs="msn";
               							}
            			else if (o=="gmail"){
            				host="smtp.gmail.com";
                     	   port=Integer.parseInt("465"); 
                     	  servs="gmail";
         											}
 
 
            } } );