Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I made it work! It's a bit messy, and I ended up not using button views at all. The "button" itself is a relativeLayout, so if you want to use this solution you are going to have to fiddle with some come if you want the button to animate. Here is my XML:</p> <pre><code>&lt;LinearLayout android:layout_width="wrap_content" android:id="@+id/linearLayout2" android:layout_height="40dp" android:layout_weight="0.4" android:gravity="right|center_vertical" android:paddingRight="5dp"&gt; &lt;RelativeLayout android:layout_height="25dp" android:layout_width="150dp" android:id="@+id/relativeLayout1" android:clickable="true"&gt; &lt;ImageView android:id="@+id/imageView1" android:scaleType="fitXY" android:adjustViewBounds="true" android:layout_width="fill_parent" android:src="@drawable/saywhat" android:layout_height="fill_parent"&gt;&lt;/ImageView&gt; &lt;LinearLayout android:layout_width="fill_parent" android:id="@+id/linearLayout3" android:weightSum="1" android:layout_height="fill_parent"&gt; &lt;TextView android:layout_weight="0.6" android:layout_height="fill_parent" android:text="TextView" android:layout_width="wrap_content" android:id="@+id/textView1"&gt;&lt;/TextView&gt; &lt;LinearLayout android:layout_weight="0.4" android:layout_height="fill_parent" android:layout_width="wrap_content" android:id="@+id/linearLayout4"&gt; &lt;ImageView android:id="@+id/imageView2" android:layout_height="wrap_content" android:scaleType="fitXY" android:adjustViewBounds="true" android:layout_width="wrap_content" android:src="@drawable/refresh_48"&gt;&lt;/ImageView&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;/RelativeLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p>Enjoy :)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload