@Override public void onClick(View v) { if (v.getId() == R.id.myArea) { Toast.makeText(this, areaWheel.getArea(), Toast.LENGTH_SHORT).show(); } }