• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps how to place line of text at end of grid view content.

senthilmg

Lurker
Aug 26, 2010
4
0
friend's,
i have a task to show images in grid ,i got the view what i needed but i have to place **click here to view more..**..at bottom
Here i'm facing problem to place the text below image has a common,
for example
----------------------
| img1 img2 img3
| img4 ... ...
|
| click here to iew more..

how can i get view has like above,

here my code

<merge android:layout_width="wrap_content" android:layout_height="340dip" xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<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"
/>
</LinearLayout>
<TextView android:text="Next" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@color/gold"/>
</merge>
here code for imageview xml
<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">
<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" />

</RelativeLayout>
from where i to place the text,

thanks in advance.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones