Note that there are some explanatory texts on larger screens.

plurals
  1. POlistview in RelativeLayout becomes invisible, how to place a list view in relative layout below is the code
    primarykey
    data
    text
    <p>listview in <code>RelativeLayout</code> becomes invisible, how to place a <code>listview</code> in <code>Relativelayout</code>? Below is the code.</p> <p>This is the <strong>settings_screen.xml</strong></p> <p>its xml code only. Code sections explained carefully please bear with me. For the first time i am posting this code it saying post come cobnntext</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/black_background_metal" android:orientation="vertical" &gt; &lt;!-- this is a image with a text. if this can be relative layout --&gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="50dip" &gt; &lt;ImageView android:id="@+id/imageView1" android:layout_width="40dp" android:layout_height="40dp" android:layout_alignParentLeft="true" android:scaleType="fitXY" android:src="@drawable/settings1" /&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" android:layout_marginTop="60dip" android:paddingTop="10dip" android:text="@string/settings_label" android:textSize="16sp" /&gt; &lt;/LinearLayout&gt; &lt;!-- here if i put relativelaout listview becomes invisible--&gt; &lt;ListView android:id="@+id/list" android:layout_width="match_parent" android:layout_height="0dip" android:layout_gravity="center_vertical" android:layout_weight="0.91" android:textColor="@android:color/white" &gt; &lt;/ListView&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.
 

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