Note that there are some explanatory texts on larger screens.

plurals
  1. POGridView display partial imagebutton
    primarykey
    data
    text
    <p>in my app,scrollview working fine but all gridview display only partial imgebutons. i have to display 6 imagebuttons and textview in each grid.3 grids wrking fine but below that it display only partial 3 buttons.. pls guide me what i m doing wrong. </p> <pre><code> &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" &gt; &lt;RelativeLayout android:id="@+id/relativeLayout2" android:layout_width="fill_parent" android:layout_height="wrap_content" &gt; &lt;ImageView android:id="@+id/firstLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/latest_ringtone" &gt; &lt;/ImageView&gt; &lt;GridView android:id="@+id/grid1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/firstLabel" android:gravity="center" android:numColumns="3" android:stretchMode="columnWidth" &gt; &lt;/GridView&gt; &lt;/RelativeLayout&gt; &lt;RelativeLayout android:id="@+id/relativeLayout3" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="5dp" android:gravity="right" &gt; &lt;ImageView android:id="@+id/scndLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/topofmonth" &gt; &lt;/ImageView&gt; &lt;GridView android:id="@+id/grid2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/scndLabel" android:gravity="center" android:horizontalSpacing="2dp" android:numColumns="3" android:stretchMode="columnWidth" android:verticalSpacing="3dp" &gt; &lt;/GridView&gt; &lt;/RelativeLayout&gt; &lt;RelativeLayout android:id="@+id/relativeLayout4" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="5dp" &gt; &lt;ImageView android:id="@+id/thrdLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/alltime_hits" &gt; &lt;/ImageView&gt; &lt;GridView android:id="@+id/grid3" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/thrdLabel" android:gravity="center" android:horizontalSpacing="2dp" android:numColumns="3" android:stretchMode="columnWidth" android:verticalSpacing="3dp" &gt; &lt;/GridView&gt; &lt;/RelativeLayout&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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