title: EditText on click listener
body: <p>Im using elcipse juno , I tried making a counter that when i click on an edit-text the counter increases by one, but its not working when i click on an edit-text the counter never change ?? is there any other way like on text change or something??</p>
  
  <p>to be more clear: i want to make an average calculator so when a user enters his/her mark i want to increase a counter by one "for calculation issues" so how am i suppose to do it please help :) ??!!!</p>
  
  <pre><code> @Override
  public void onClick(View v) {
      // TODO Auto-generated method stub
      switch(v.getId())
      {
  
      case R.id.mark1n:
          counter = counter+1;
  
          break;
      case R.id.mark2n:
          counter = counter+1;
  
          break;
      case R.id.mark3n:
          counter = counter+1;
  
          break;
      case R.id.mark4n:
          counter = counter+1;
  
          break;
      case R.id.mark5n:
          counter = counter+1;
  
          break;
      case R.id.mark6n:
          counter = counter+1;
  
          break;
      }
  }
  </code></pre>