title: android button click event is not working for me
body: <p>I have an android application with relative layout where i have placed a button control like this</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="wrap_content" &gt;    
  &lt;Button
          android:id="@+id/btnCalc"
          style="?android:attr/buttonStyleSmall"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginTop="708dp"
          android:layout_marginLeft="50dp"
          android:text="@string/btncalc" /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>And For testing the event i have placed toast on click event of this button like this</p>
  
  <pre><code>btncalcu=(Button)findViewById(R.id.btnCalc);
          btncalcu.setOnClickListener(new Button.OnClickListener(){
              @Override
              public void onClick(View v)
              {
                  Toast.makeText(getBaseContext(), "a", Toast.LENGTH_LONG).show();
                  //calc();
              }
  
          });
  </code></pre>
  
  <p>Problem is that when i run the application there is not error or any exception but also nothing displayed there of <code>Toast</code>.Any Can Guess what may b the issue .Plz Help !</p>