title: creating buttons for dashboard, problems with onClick, maybe better solution?
body: <p>I am currently implementing my dashboard. My current solution for buttons is this:</p>
  
  <pre><code>&lt;LinearLayout
                          android:layout_width="fill_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="33"
                          android:gravity="center_horizontal"
                          android:orientation="vertical"
                          android:background="@drawable/button_frame"
                          android:id="@+id/viewAddItemBtn"
                          android:onClick="BtnListener"
                          &gt;
                      &lt;ImageButton
                          android:layout_height="wrap_content"
                          android:layout_width="wrap_content"
                          android:background="@drawable/addbutton"
  
                          /&gt;
                      &lt;TextView 
                          android:text="Add Item"
                          android:layout_height="wrap_content"
                          android:layout_width="wrap_content"
                          android:layout_gravity="center"
                          android:layout_marginTop="5dp"
                          /&gt;
                          &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>However, I now have some problems with 1. the "clickability" and the states (focused/pressed/normal).
  As you might guess out of my code: If i click on the "ImageButton" (which could basically be a imageview too on solution) it does nothing. (because onClick is not assigned, I thought it would inherit the attribute from its overall LinearLayout). Second thing is, if I make the "ImageButton" Clickable too, i guess the states won't be called, am I right here?</p>
  
  <p>is there any better solutions for my design?
  little demo-picture on how the button should look like: <a href="http://i.imgur.com/aI2Vb.png" rel="nofollow">http://i.imgur.com/aI2Vb.png</a></p>