Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try giving cachecolorhint attribute of the listview and make it transparent like below mentioned snippet:</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" android:cacheColorHint="@android:color/transparent"/&gt; /&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: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: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><img src="https://i.stack.imgur.com/fvBhI.png" alt="enter image description here"></p>
 

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