Note that there are some explanatory texts on larger screens.

plurals
  1. POGridView not conforming to Relativelayout alignment
    primarykey
    data
    text
    <p>I'd like to right align this gridview so that it's flush against the right side of the screen, but it seems to always immediately follow whichever textview I set it to the right of. Not only that, but all of the textviews are displayed on top of each other.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="@string/time_left" android:textSize="30sp" android:layout_alignParentLeft="true" android:id="@+id/time_left_label"/&gt; &lt;TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/time_left" android:layout_alignParentLeft="true" android:layout_below="@id/time_left_label"/&gt; &lt;TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="@string/progress" android:textSize="30sp" android:layout_alignParentLeft="true" android:layout_below="@id/time_left" android:id="@+id/progress_label" /&gt; &lt;TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/progress" android:layout_alignParentLeft="true" android:layout_below="@id/progress_label"/&gt; &lt;GridView android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/main_grid" android:numColumns="2" android:layout_alignParentRight="true" android:layout_toRightOf="@id/time_left_label" android:stretchMode="none" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>Here's a picture of what I want drawn quickly in paint! <a href="http://imgur.com/x7Ypr" rel="nofollow">http://imgur.com/x7Ypr</a></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