Button is not clickable or focusable
<p>I have created a button in my screen's xml like this</p>

<pre><code>    &lt;Button android:text="Lets Get Started"  android:background="@drawable/nav_blue_bar"  
                   android:id="@+id/btn_nav_vertical_1" android:layout_width="wrap_content" 
                   android:layout_height="35px" 
                   android:textColor="#FFFFFF"
                   android:layout_alignParentLeft="true"
                   android:drawableRight="@drawable/arrow"
                   android:drawableLeft="@drawable/nav_getstart"&gt;
                   &lt;/Button&gt;
</code></pre>

<p>but when i try to click this button it is not clickable not focusable .. how do i set it as clickable ???
 update :</p>

<p>i AM NOW USING A STATELIST DRAWABLE BUT It sets the background when focused or clicked ... i want to set a permanent background to this button..
button is still not clicable
 0  down vote  favorite</p>

<p>I have created a button in my screen's xml like this</p>

<p>
  </p>

<pre><code>   &lt;Button android:text="Lets Get Started"        

          android:background="@drawable/btnbg"  
          android:id="@+id/btn_nav_let_strtd"android:layout_width="wrap_content" 
           android:layout_height="35px" 
           android:textColor="#FFFFFF"
           android:layout_alignParentLeft="true"
           android:drawableRight="@drawable/arrow"
           android:drawableLeft="@drawable/nav_getstart"&gt;
           &lt;/Button&gt;
</code></pre>

<p></p>

<p>set click listenrss</p>

<pre><code>  public class NavigationScreen extends Activity implements OnClickListener{ private Button btn_nav_lets_get_strtd;

   private LinearLayout ll_get_started;
   @Override
   protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.navigation);
btn_nav_lets_get_strtd = (Button) findViewById(R.id.btn_nav_let_strtd); 


btn_nav_lets_get_strtd.setClickable(true);




 }
 private void setOnclickListeners() {
btn_nav_lets_get_strtd.setOnClickListener(new View.OnClickListener() {
    public void onClick(View v) {
       System.out.println("clicked");
       Toast.makeText(NavigationScreen.this, "fgd",Toast.LENGTH_SHORT).show();
     }
 });
</code></pre>

<p>}</p>

<p>}</p>

<p>but when i try to click this button it is not clickable not focusable .. how do i set it as clickable ???</p>

<p>and the drawable is not a bitmap it is a statlist drawable btnbg.xmlis here</p>

<pre><code>   &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"
 android:constantSize="true"
 android:dither="true"
android:variablePadding="true" &gt;
&lt;item
  android:drawable="@drawable/nav_blue_bar"
  android:state_pressed="true"
  /&gt;
</code></pre>

<p>any help will be appreciated ...</p>
