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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:10:00+00:00 2026-05-23T00:10:00+00:00

How do I let my include exactly at the end of the screen? At

  • 0

How do I let my include exactly at the end of the screen? At the time he gets to the end of the content.

<!-- language: lang-xml -->
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent" android:layout_height="fill_parent">
    <ScrollView android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:background="#f6ba79"
        android:orientation="vertical" android:id="@+id/layout">
        <LinearLayout android:id="@+id/linearLayout2"
            android:orientation="vertical" android:layout_width="fill_parent"
            android:layout_height="fill_parent" android:background="@drawable/preferences_background">
            <include android:id="@+id/include1" android:layout_width="fill_parent"
                layout="@layout/top" android:layout_height="wrap_content"></include>
            <LinearLayout android:layout_width="fill_parent"
                android:gravity="center" android:id="@+id/linearLayout1"
                android:layout_height="wrap_content">
                <LinearLayout android:orientation="vertical"
                    android:layout_width="270dp" android:id="@+id/body"
                    android:layout_height="wrap_content" android:focusableInTouchMode="true">
                    <ImageView android:src="@drawable/preferences"
                        style="@style/Theme.Connector.ImageElement" android:layout_width="wrap_content"
                        android:id="@+id/title" android:layout_height="wrap_content"></ImageView>
                    <Spinner android:layout_width="fill_parent"
                        style="@style/Theme.Connector.WelcomeSpinner"
                        android:layout_weight="1" android:id="@+id/spinner_isp"
                        android:layout_height="wrap_content" />
                    <EditText android:singleLine="true" android:hint="@string/txt_user"
                        android:layout_height="wrap_content" android:layout_width="fill_parent"
                        android:id="@+id/edit_user" style="@style/Theme.Connector.PreferencesInput" />
                    <EditText android:singleLine="true" android:hint="@string/txt_password"
                        android:layout_height="wrap_content" android:layout_width="fill_parent"
                        android:id="@+id/edit_password" android:password="true"
                        style="@style/Theme.Connector.PreferencesInput" />
                    <LinearLayout android:orientation="vertical"
                        android:layout_width="fill_parent" android:id="@+id/frm_action"
                        android:layout_height="fill_parent" android:baselineAligned="false">
                        <Button android:text="@string/btn_save"
                            android:layout_weight="0" android:layout_width="130dp"
                            android:layout_height="wrap_content" style="@style/Theme.Connector.Button"
                            android:layout_gravity="center" android:id="@+id/btn_save"></Button>
                    </LinearLayout>
                </LinearLayout>
            </LinearLayout>
        </LinearLayout>
    </ScrollView>
        <include android:id="@+id/include1" android:layout_width="fill_parent"
            layout="@layout/menu" android:layout_height="wrap_content" android:layout_alignParentBottom="true"></include>
</RelativeLayout>

Device Screen Capture

  • 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-23T00:10:00+00:00Added an answer on May 23, 2026 at 12:10 am

    The problem is that your ScrollerView has a layout_height=”fill_parent”. RelativeLayout will make that view fill the entire space.

    A LinearLayout will work better in your case:

    <?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">
        <ScrollView
            android:layout_width="fill_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:background="#f6ba79"
            android:orientation="vertical"
            android:id="@+id/layout">
    
            ...
    
        </ScrollView>
        <include
            android:id="@+id/include1"
            android:layout_width="fill_parent"
            layout="@layout/menu"
            android:layout_height="wrap_content" />
    </LinearLayout>
    

    The key here is to have the height of the ScrollerView set to 0dp and the weight set to 1 (or any number really). LinearLayout will then stretch the ScrollerView to fill the view and still make room for the @layout/menu at the bottom.

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

Sidebar

Related Questions

I am trying to build a php class that will let me include other
I would like to let Zend_Layout include header.phtml and footer.phtml with [layouy name].phtml. How
Sorry for a very generic sounding question. let's say #include <sys/socket.h> #include <sys/types.h> #include
Let's assume this scenario in Visual C++ 2010: #include <iostream> using namespace std; struct
I'd like to include the results of a given script (let's say a.php) into
I am trying to include an IF within my LET in LINQ but i
let's say i have directory paths looking like this: this/is/the/basedir/path/a/include this/is/the/basedir/path/b/include this/is/the/basedir/path/a this/is/the/basedir/path/b In
Let's say I do this: $(#content).load(...); Within what I'm loading some javascript is included:
I have this project structure where I have a parent pom which include let's
Edit: let me include my code so I can get some specific help. import

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.