Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to place a line of text below the end of grid
    primarykey
    data
    text
    <p>I have a task to show images in grid ,i got the view what i needed but i have to place <strong>click here to view more..</strong> at bottom.</p> <p>Here i'm facing problem to place the text below image has a common, for example,each row have three images in grid and it looks:</p> <pre><code> ---------------------- | img1 img2 img3 | img4 ... ... | | click here to view more.. </code></pre> <p>after img3, img4 in next row in the grid</p> <p>How can i place text in the view has like above?</p> <p>here my code for <code>imageview.xml</code>:</p> <pre><code>&lt;RelativeLayout android:id="@+id/RelativeLayout01" android:layout_width="100dip" android:background="@color/white" android:layout_height="80dip" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_gravity="center_horizontal"&gt; &lt;ImageView android:id="@+id/jr_lb_list_icon" android:layout_width="60dip" android:layout_height="65dip" android:scaleType="fitCenter" android:background="@drawable/border" android:layout_centerInParent="true" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>here my code for <code>imageview.xml</code>:</p> <pre><code>&lt;merge android:layout_width="wrap_content" android:layout_height="340dip" xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;GridView android:id="@+id/jr_lookbook_grid" android:layout_width="fill_parent" android:layout_height="320dip" android:numColumns="4" android:verticalSpacing="10dp" android:horizontalSpacing="10dp" android:columnWidth="90dp" android:stretchMode="columnWidth" android:adjustViewBounds="true" android:background="@drawable/shape" android:gravity="center" android:layout_weight="1" /&gt; &lt;/LinearLayout&gt; &lt;TextView android:text="Next" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@color/gold"/&gt; &lt;/merge&gt; </code></pre> <p>Please, help me to get the text below, I tried to put layout for textview but i can't get view what i need.anybody help me get it...</p>
    singulars
    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.
 

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