Note that there are some explanatory texts on larger screens.

plurals
  1. POxml layout not showing background color
    primarykey
    data
    text
    <p><img src="https://i.stack.imgur.com/WsusR.png" alt="enter image description here"><strong>Xml layout is showing dark background in graphical layout but not showing it in emulator.Everything was working fine before adding listview to the layout file .</strong></p> <p>* this is my layout output after executing</p> <p><img src="https://i.stack.imgur.com/yf0Pk.png" alt="enter image description here"><br> this is my graphical layout</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/relRingtone" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#000000" &gt; &lt;ListView android:focusable="false" android:id="@+id/list_notification" android:layout_width="fill_parent" android:layout_height="wrap_content" android:choiceMode="singleChoice" android:layout_marginLeft="3dip" android:textSize="2dp" /&gt; &lt;RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:paddingBottom="40dp" &gt; &lt;Button android:id="@+id/btn1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginTop="40dp" android:background="@drawable/button" android:padding="5dp" android:text="Start Working" android:textColor="#FFF" android:textSize="20sp" android:textStyle="bold" /&gt; &lt;Chronometer android:id="@+id/chronometer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/btn1" android:layout_centerHorizontal="true" android:layout_marginTop="30dp" android:padding="5dp" android:text="Vehicle Details" android:textColor="#FFF" android:textSize="20sp" android:textStyle="bold" android:visibility="gone" /&gt; &lt;Button android:id="@+id/btn2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/chronometer" android:layout_centerHorizontal="true" android:layout_marginTop="30dp" android:background="@drawable/button" android:padding="5dp" android:text="Take Leave" android:textColor="#FFF" android:textSize="20sp" android:textStyle="bold" /&gt; &lt;/RelativeLayout&gt; &lt;/RelativeLayout&gt; </code></pre> <p>Xml layout is showing dark background in graphical layout but not showing it in emulator.Everything was working fine before adding listview to the layout file .</p>
    singulars
    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.
 

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