title: Slide finger to tap another imagebutton
body: <p>I have 4x4 imagebuttons in my app. their function is, whenever they are tapped/clicked, they will display a a text on a textview based on what image assigned to them. Now, i want to form a word using this imagebuttons. How can i connect the imagebuttons by just sliding my finger from one imagebutton to another?</p>
  
  <p>I saw this question (<a href="https://stackoverflow.com/questions/10535500/sliding-finger-across-multiple-image-views">Sliding finger across multiple image views</a>) and I think we have the same question. But I didnt get what the answers mean ESPECIALLY on how to do it. Any suggestions would be highly appreciated.</p>
  
  <p>This is the code i am currently using. This is for single tap of only.</p>
  
  <pre><code>image1.setOnClickListener(myCommoClickListener)
  //same as the rest
  
  OnClickListener myCommoClickListner = new OnClickListener(){
  
  @Override
  public void onClick(View arg0) {
  Log.i(TAG,"arg0.getId() = " + arg0.getId());
  
  if(arg0.getId()==R.drawable.lettera){
  Log.i(TAG,"arg0.getId()="+arg0.getId());
  generatedString=generatedString+"a";
  text.setText(generatedString);
  
  //start countdowntimer
  </code></pre>
  
  <p>Note: I am a newbie in android programming. I would be very thankful if you'll also help me with the codes. </p>
  
  <p>Thank You in advance.</p>