Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This might not be something you asked for, but it's an alternative that you can try it out. I implemented <code>layout_weight</code> into your xml and included the button at the end of the screen. The outcome of this will be something similar with the link in your question.</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:weightSum="1" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_weight=".9" &gt; &lt;ImageView android:id="@+id/file_picker_image" android:layout_width="40dip" android:layout_height="40dip" android:layout_marginBottom="5dip" android:layout_marginLeft="5dip" android:layout_marginTop="5dip" android:contentDescription="@string/app_name" android:scaleType="centerCrop" android:src="@drawable/file" /&gt; &lt;TextView android:id="@+id/file_picker_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dip" android:singleLine="true" android:text="@string/file_name" android:textSize="28sp" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_weight="0.1" &gt; &lt;Button android:layout_width="fill_parent" android:layout_height="fill_parent" /&gt; &lt;!--Your Button--&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre>
 

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