You need to switch on the View's ID, not the View itself public void buttonPressed(View v){ switch(v.getId()) { case R.id.
確定! 回上一頁