title: Trouble showing an Image Button on HorizontalScroll View
body: <p>xml:
      </p>
  
  <pre><code>&lt;com.android.pagescroller.Pager
      android:id="@+id/scrollView"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_weight="1.0" &gt;
  &lt;/com.android.pagescroller.Pager&gt;
  
  &lt;ImageButton
      android:id="@+id/image_gun"
      android:layout_width="70dp"
      android:layout_height="70dp"
      android:layout_gravity="left"
      android:background="@drawable/gun"
      android:clickable="true"
      android:gravity="right" /&gt;
  
  &lt;ImageButton
      android:id="@+id/image_hat"
      android:layout_width="80dp"
      android:layout_height="80dp"
      android:layout_gravity="right"
      android:background="@drawable/hat"
      android:clickable="true"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>Java:</p>
  
  <pre><code> scroller = ((Pager)findViewById(R.id.scrollView));
  
     LayoutInflater layoutInflater = (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  
      for (int i = 0; i &lt; NUM_PAGES; i++) {
          View pageView = layoutInflater.inflate(R.layout.page, null);
          ((TextView) pageView.findViewById(R.id.pageText)).setText(jokes[i]);
          //pageView.setBackgroundColor(COLORS[i % COLORS.length]);
  
          scroller.addPage(pageView);
  
      }
  
      im = (ImageButton)findViewById(R.raw.gun);
      im.setOnClickListener(new OnClickListener(
              ) {
  
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
              mysound = (MediaPlayer)MediaPlayer.create(PageScrollerActivity.this, R.raw.gun);
          }
      });
  }
  </code></pre>
  
  <p>I'm using a Horizontal Scrollview using a pager, I need to make a few Image Buttons common for all the pages in the ScrollView. When I try to accomplish it I'm failing as the OnClick event for Image Button isn't seem to be called. Please help. </p>