Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>can you please explain how excatly u want to design ur layout ... as its little bit confusing But still I've tried to solved from whatever the things i understand from ur question.</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:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#000000" &gt; &lt;ListView android:id="@+id/list_notification" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@+id/reltivebutton" android:cacheColorHint="@android:color/transparent" android:layout_marginLeft="3dip" android:choiceMode="singleChoice" /&gt; &lt;RelativeLayout android:id="@+id/reltivebutton" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_alignParentBottom="true" 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>
    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.
    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