Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I would change this all to LinearLayout. The layout_weight will fill up space for you. You can show/hide the red pane by finding it with the id, then set pane.setVisibility(View.VISIBLE) (or set View.GONE)</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="horizontal"&gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1" android:background="#ffff00" android:orientation="vertical" android:id="@+id/details_frag"&gt; &lt;!-- Left pane content --&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1" android:background="#00ff00" android:orientation="vertical"&gt; &lt;!-- Right pane content --&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="80dp" android:orientation="vertical" android:background="#ff0000" android:visibility="gone" android:id="@+id/details_frag_upper"&gt; &lt;!-- Initially hidden. Fill with whatever on left pane click --&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:background="#0000ff" android:id="@+id/details_frag_lower" android:layout_weight="1"&gt; &lt;!-- Initially hidden. Fill with whatever on left pane click --&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre>
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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