Note that there are some explanatory texts on larger screens.

plurals
  1. PORelative Layout Not getting below as defined
    primarykey
    data
    text
    <p>Now here is my XML code for layout</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;RelativeLayout android:id="@+id/RelativeLayout01" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/default1" android:id="@+id/default1" android:layout_gravity="center" android:scaleType="fitXY"&gt; &lt;/ImageView&gt; &lt;ImageView android:layout_marginTop="19dp" android:layout_width="180dp" android:layout_height="45dp" android:src="@drawable/fc_postyour_best_score_bg" android:id="@+id/postscore" android:layout_alignParentRight="true" android:scaleType="fitXY"&gt; &lt;/ImageView&gt; &lt;ImageButton android:layout_marginTop="22dp" android:layout_width="35dp" android:layout_height="35dp" android:background="@drawable/fctwitterup" android:layout_marginLeft="7dp" android:id="@+id/twitter" android:layout_alignRight="@id/postscore" android:scaleType="fitXY"&gt; &lt;/ImageButton&gt; &lt;ImageButton android:layout_marginTop="22dp" android:layout_width="35dp" android:layout_height="35dp" android:background="@drawable/fcfacebookdown" android:id="@+id/fb" android:layout_toLeftOf="@id/twitter"&gt; &lt;/ImageButton&gt; &lt;ImageButton android:layout_width="160dp" android:layout_height="40dp" android:background="@drawable/fsremove_ads_down" android:id="@+id/fsremove_ads_down" android:layout_below="@id/postscore" android:layout_alignParentRight="true" android:layout_marginBottom="3dp"&gt; &lt;/ImageButton&gt; &lt;ToggleButton android:id="@+id/fsvibrate_on" android:layout_width="135dip" android:layout_height="35dip" android:textOff="" android:textOn="" android:layout_below="@+id/fsremove_ads_down" android:layout_alignParentRight="true" android:background="@drawable/fsvibrate_on"&gt; &lt;/ToggleButton&gt; &lt;ImageButton android:layout_width="210dp" android:layout_height="60dp" android:background="@drawable/fcplaydown" android:id="@+id/fcplaydown" android:layout_centerInParent="true"&gt; &lt;/ImageButton&gt; &lt;ToggleButton android:id="@+id/fcsoundondown" android:layout_width="35dp" android:layout_height="35dp" android:textOff="" android:textOn="" android:layout_below="@+id/fcplaydown" android:background="@drawable/fcsoundondown"&gt; &lt;/ToggleButton&gt; &lt;/RelativeLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p>So My Problem is <code>@+id/fcsoundondown</code> Toggle button I have set to below of <code>@+id/fcplaydown</code> but it is not coming below to the specified button but comes after <code>"@+id/postscore"</code></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.
 

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