MainActivity.java에 public void onButton1Click(View v){ Toast.makeText(getApplicationContext(), "버튼 클릭", Toast.LENGTH_LONG).show();}