Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9094657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:24:06+00:00 2026-06-16T23:24:06+00:00

I want to implement a button at the bottom of the gridview where items

  • 0

I want to implement a button at the bottom of the gridview where items are displayed for that i am using

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
      <RelativeLayout android:layout_width="wrap_content"
        android:layout_height="wrap_content">
       <GridView
           android:id="@+id/list"
           android:layout_width="fill_parent"
           android:layout_height="fill_parent"
           android:background="@android:color/white"
           android:gravity="center"
           android:horizontalSpacing="10dp"
           android:numColumns="auto_fit"
           android:stretchMode="columnWidth"
           android:verticalSpacing="10dp" 
           android:columnWidth="90dp" >
     </GridView>
    <ImageView
          android:id="@+id/image"
          android:layout_width="60dp"
          android:layout_height="100dp" />
   <TextView android:id="@+id/caption"
             android:layout_below="@id/image"
             android:layout_width="wrap_content" 
             android:layout_height="wrap_content" 
            android:textSize="15sp"/>
 </RelativeLayout>
     <LinearLayout android:layout_width="wrap_content"
          android:layout_height="wrap_content">
     <Button
     android:id="@+id/button"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_alignParentBottom="true"
     android:layout_centerHorizontal="true"
     android:text="Go "
     android:textSize="20dip"
     android:textStyle="italic" />
</LinearLayout>
</LinearLayout>

But for this i am getting a button for item in a gridview could anyone tell me how to set a single button for all the items in the gridview at the bottom

 http://i.imgur.com/QwdYJ.jpg>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:24:07+00:00Added an answer on June 16, 2026 at 11:24 pm
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >
    
    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="0dp"
        android:layout_weight="1" >
    
        <GridView
            android:id="@+id/list"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:background="@android:color/white"
            android:columnWidth="90dp"
            android:gravity="center"
            android:horizontalSpacing="10dp"
            android:numColumns="auto_fit"
            android:stretchMode="columnWidth"
            android:verticalSpacing="10dp" >
        </GridView>
    
        <ImageView
            android:id="@+id/image"
            android:layout_width="60dp"
            android:layout_height="100dp" />
    
        <TextView
            android:id="@+id/caption"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/image"
            android:textSize="15sp" />
    </RelativeLayout>
    
    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center" >
    
        <Button
            android:id="@+id/button"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:text="@string/app_name"
            android:textSize="20sp"
            android:textStyle="italic" />
    </LinearLayout>
    

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to implement the back button functionality so that upon clicking that the
I want to implement scrollable button list which are displayed inside popup. I would
I want to implement a button that does not show borders or anything else,
I want to implement a button that counts down when pressed. The idea is
I want to implement a three way sliding button for my app. at the
I am new to iPhone developer, I want to implement different Animations on button
Microsoft has announce that WindowsLiveID become a OpenID provider . I want implement it
I want implement paging same as safari in iphone.When user touch below button of
I want to implement a search box in a window form. In that window
If I want to implement Ajax and have the back/forward button and also a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.