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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:29:56+00:00 2026-06-09T23:29:56+00:00

I am having some battles with a scrollview and a framelayout. Despite trying numerous

  • 0

I am having some battles with a scrollview and a framelayout. Despite trying numerous things no matter what I do the scrollview seems to fill the parent and stick some of my content behind the framelayout.
What I want is the framelayout across the bottom and the scrollview to fill the top section. Can anyone point out the silly mistake I am making here?
I tried what was suggested here Layout issue on Android with FrameLayout and ScrollView but that didn’t do it.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/quizresultlayout"
style="@style/Activity"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >

<ScrollView
    android:id="@+id/resultscroll"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@+id/frameLayout1"
    android:fillViewport="true" >

    <LinearLayout
        android:id="@+id/sublayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent" >

        <TextView
            android:id="@+id/tvResultMsg"
            style="tvtemplatemedium"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:tag="@string/quizresults_CongratsMsg"
            android:text="@string/quizresults_CongratsMsg" />

        <TableLayout
            android:id="@+id/resultable"
            android:layout_width="wrap_content"
            android:layout_height="match_parent" >
        </TableLayout>
    </LinearLayout>
</ScrollView>

<FrameLayout
    style="@style/bottomframe"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_alignParentLeft="true"
    android:layout_alignParentRight="true" >

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="92dp" >

        <ImageButton
            android:id="@+id/btnstartquiz"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_alignParentRight="true"
            android:src="@drawable/play" />

        <ImageButton
            android:id="@+id/btnRptCard"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_alignParentLeft="true"
            android:src="@drawable/chart" />

        <ImageButton
            android:id="@+id/btnTrunk"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            android:src="@drawable/play" />
    </RelativeLayout>
</FrameLayout>

</RelativeLayout>
  • 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-09T23:29:59+00:00Added an answer on June 9, 2026 at 11:29 pm

    Do this:

    change the root RelativeLayout to LinearLayout.

    set the ScrollView android:layout_height=”0dp”

    add to ScrollView android:layout_weight=”1″ <– this will make your scrollview fill the remaining space and will push the framelayout at the bottom.

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

Sidebar

Related Questions

Having some problems with syntax here. Trying to get like counts on any page
Having some trouble with this code. Trying to return a tuple of tuples (coordinates)
I'm having some bad luck trying to bind a uniform 4x4 matrix. I'm targeting
Having some trouble trying to put together a page where images are placed properly.
Having some issues with this search engine I am trying to put together. I'll
Having some trouble with some nested resources routing. What I'm trying to do is
having some trouble trying to figure this out, complete novice when it come to
having some issues with a callback request form I'm trying to build for a
Having some issues with .htaccess on my website. I'm trying to alter the suffix
Having some problem getting my program to sleep What im trying to do is

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.