package com.cookandroid.project5_2;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

	EditText edit1, edit2;
	Button btnAdd, btnSub, btnMul, btnDiv;
	TextView textResult;
	String num1, num2;
	Integer result;

	// 10개 숫자 버튼 배열
	Button[] numButtons = new Button[10];
	// 10개 숫자 버튼의 id 값 배열
	Integer[] numBtnIDs = { R.id.BtnNum0, R.id.BtnNum1, R.id.BtnNum2,
			R.id.BtnNum3, R.id.BtnNum4, R.id.BtnNum5, R.id.BtnNum6,
			R.id.BtnNum7, R.id.BtnNum8, R.id.BtnNum9 };
	int i; // 증가값 용도

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);

	}

}
