package com.sabirjan.android;

import com.sabirjan.Dialog.CustomizeDialog;
import com.sabirjan.android.R;
import com.sabirjan.youxi.MyView;

import android.app.Activity;
import android.content.res.Resources;
import android.os.Bundle;
import android.view.KeyEvent;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

public class ActiviyTab_5 extends Activity{
	
	
	
	Spinner spinner;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.youxi_1);

	    }

	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		// TODO Auto-generated method stub
		if(keyCode==KeyEvent.KEYCODE_BACK)
		{
			  CustomizeDialog clsDialog=new CustomizeDialog(this);
	      	  clsDialog.show();
	      	  return true;
		}
		return super.onKeyDown(keyCode, event);
	}

}
