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 7129185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:12:59+00:00 2026-05-28T11:12:59+00:00

I am developing an Android application using android sdk v 2.1. In one page

  • 0

I am developing an Android application using android sdk v 2.1. In one page i am merging different layouts like headers, footer , list views etc.
My code is something like this:

<?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" android:background="#FFFFFF">


    <com.myapp.LogoBarActivity
                android:id="@+id/logobarLayout" android:layout_height="wrap_content"
                android:layout_width="fill_parent"/>

    <include layout="@layout/header_2"/>    
    <include layout="@layout/header_3"/>

    <ListView android:id="@android:id/list" android:layout_width="fill_parent"
              android:layout_height="wrap_content"></ListView>

    <include layout="@layout/list_footer" />

</LinearLayout>

But the problem is that bottom buttons (layout=”@layout/list_footer”) are not displaying when listview crossing the screen. I want to scroll listview between
layout=”@layout/header_3″ and layout=”@layout/list_footer” and all layout should be fixed on screen. Please guide me.

  • 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-05-28T11:13:00+00:00Added an answer on May 28, 2026 at 11:13 am

    You should use the RelativeLayout to get what you want . Your XML Code will be something like this :

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:background="#FFFFFF">
    
    
        <com.myapp.LogoBarActivity android:layout_alignParentTop="true"  
                    android:id="@+id/logoBar"
                    android:id="@+id/logobarLayout" android:layout_height="wrap_content"
                    android:layout_width="fill_parent"/>
    
        <include layout="@layout/header_2" android:id="@+id/header2"  android:layout_below="@+id/logoBar"/>    
        <include layout="@layout/header_3" android:id="@+id/header3"  android:layout_below="@+id/header2"/>
    
        <ListView android:id="@android:id/list" android:layout_width="fill_parent"
                  android:layout_height="wrap_content" android:layout_above="@+id/footer"
                  android:layout_below="@+id/header3"/>
    
        <include layout="@layout/list_footer" 
              android:layout_alignParentBottom="true"
              android:id="@+id/footer" />
    
    </RelativeLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an application in Eclipse build ID 20090920-1017 using android SDK 2.2
I am developing an application which is using facebook sdk for android to log
I'm developing an android application using GPS. I'd like to implement a feature that
I'm currently developing an Android application that fetches images using http requests. It would
I am developing a walkie-talkie application for Android, and would like to know whether
I'm developing Android application using third party libraries (Twitter4j). I want to be able
i am developing an android application using google maps data.I can access google maps
I am developing a simple android application using eclipse. I wrote a JUnit TestCase
I'm developing an Android application using Android 1.5. I'm using an older version of
Good evening. I'm developing an android application that uses Facebook SDK. I've no problem

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.