package com.sabirjan.android;

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

import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;

public class ActiviyTab_3 extends Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.test3);
	}

	@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);
	}

}
