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

  • Home
  • SEARCH
  • 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 8871501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:00:27+00:00 2026-06-14T18:00:27+00:00

I have a Layout problem. I have tried for hours to get it right

  • 0

I have a Layout problem. I have tried for hours to get it right but I cant figure it out.

It should be simple really.

I have a layout that looks like this: Fixed on the Screen are a header and a footer, in between these there is a scrollale view that displays some information and a button.

All I want that header, button and footer is fixed and the infomration fill the rest of the screen as good as possible.

The solution I have at moment almost works, the problem with it is that the information and the button overlap (the button is on top). The information only starts to scroll if it would overlap with the footer.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/wrap_main" >

   <include
      android:id="@+id/in_header"
      layout="@layout/header" />

    <RelativeLayout
        android:id="@+id/body"
        style="@style/wrap_body_with_footer_style"
        android:layout_below="@id/in_header" >

       <!--  This is a scrollable view --> 
       <include  android:id="@+id/job_description"
                 layout="@layout/job_description" />

        <Button android:id="@+id/btn_job_details_pick_up_submit"
                style="@style/btn_confirmation_style"
                android:text="@string/btn_job_details_pick_up_submit"
                android:layout_alignParentBottom="true" />

      </RelativeLayout>

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

</RelativeLayout>

So JobDiscription and Button overlap.

Any Ideas?

Thanks everybody.

Edit: Somebody mention LinearLayouts in the comments. I did try with LinearLayouts but I had the effect that the information, instead of contracting, pushed down the button so it was not fully visable anymore. If you have a solution to stop this pusing down effect, I’ll happly change to LinearLayouts.

  • 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-14T18:00:29+00:00Added an answer on June 14, 2026 at 6:00 pm

    As already discussed in the comments, I would also suggest positioning job_description above btn_job_details_pick_up_submit with android:layout_above="@id/btn_job_details_pick_up_submit".

    Above does not mean on top of something, it aligns the bottom of the view with the top of another one.

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

Sidebar

Related Questions

I have to make a simple layout in android but have problem with the
I have a layout that is working, but it has one very annoying problem..
I have problem in this layout that : it doesn't show any child after
I have a reasonably complex layout problem: I would like to have a main
I have a problem with layout iPhone web page , My background image does
I have a problem with layout. Look at the picture: as you can see
I have the age-old problem of a div wrapping a two-column layout. My sidebar
I have a strange problem. I am using the null layout for a window
I have problems getting some of my views aligned in a relative layout that
So I have been trying for hours to get this to work and I

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.