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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:20:39+00:00 2026-06-13T12:20:39+00:00

Well the title speaks for it self. I suspect it has to do with

  • 0

Well the title speaks for it self. I suspect it has to do with the ScrollView but cannot figure this out. I want the LinearLayout content to stay aligned to the bottom.

enter image description here
enter image description here

Her’s my xml:

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/ScrollViewActivityLogin"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:fillViewport="true" >

    <RelativeLayout android:id="@+id/relativeLayout_top_activity_login"
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal" 
        android:background="@color/blue"
        android:focusable="true"
        android:focusableInTouchMode="true">

         <TextView
            android:id="@+id/txt_head_activity_login"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_marginLeft="25dip"
            android:layout_marginRight="25dip"            
            android:layout_marginTop="20dip"
            android:text="@string/string_your_not_logged_on"
            android:textSize="22sp" />


        <TextView
            android:id="@+id/txt_username_activity_login"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/txt_head_activity_login"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="20dip"
            android:text="@string/string_user_name"
             />

        <EditText
            android:id="@+id/edt_username_activity_login"
            android:layout_width="200dip"
            android:layout_height="wrap_content"
            android:layout_below="@+id/txt_username_activity_login"
            android:layout_centerHorizontal="true"
            android:layout_marginLeft="10dip"
            android:layout_marginRight="10dip"
            android:singleLine="true"
            android:inputType="text"/>

        <TextView
            android:id="@+id/txt_password_activity_login"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/edt_username_activity_login"
            android:layout_centerHorizontal="true"
            android:text="@string/string_password"
            />

        <EditText
            android:id="@+id/edt_password_activity_login"
            android:layout_width="200dip"
            android:layout_height="wrap_content"
            android:layout_below="@+id/txt_password_activity_login"
            android:layout_centerHorizontal="true"
            android:layout_marginLeft="15dip"
            android:layout_marginRight="15dip"
            android:singleLine="true"
            android:inputType="textPassword"
            />

        <Button
            android:id="@+id/btn_login_activity_login"
            android:layout_width="200dip"
            android:layout_height="wrap_content"
            android:layout_below="@+id/edt_password_activity_login"
            android:layout_centerHorizontal="true"
            android:layout_marginLeft="25dip"
            android:layout_marginRight="25dip"
            android:layout_marginTop="20dip"
            android:text="@string/string_login" />

        <Button
            android:id="@+id/btn_sign_up_activity_login"
            android:layout_width="200dip"
            android:layout_height="wrap_content"
            android:layout_below="@+id/btn_login_activity_login"
            android:layout_centerHorizontal="true"
            android:layout_marginLeft="25dip"
            android:layout_marginRight="25dip"
            android:layout_marginTop="50dip"
            android:text="@string/string_sign_up" />

        <LinearLayout android:id="@+id/linearLayout_bottom_activity_login"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:layout_alignParentBottom="true"
            android:layout_marginBottom="20dp"
            >                  
            <TextView
                android:id="@+id/txt_version_activity_login"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:text="" />

            <TextView
                android:id="@+id/txt_copywrite_activity_login"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:text="@string/string_app_name_copywrite" />
        </LinearLayout>
    </RelativeLayout>
</ScrollView>
  • 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-13T12:20:40+00:00Added an answer on June 13, 2026 at 12:20 pm

    please change at top of the file like this.

      <?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/ScrollViewActivityLogin"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:fillViewport="true" >
    
    <RelativeLayout android:id="@+id/relativeLayout_top_activity_login"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal" 
        android:background="@color/blue"
        android:focusable="true"
        android:focusableInTouchMode="true">
    

    see this Image you will get more idea

    https://i.stack.imgur.com/uOai7.jpg

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

Sidebar

Related Questions

Well the title is quite self explanatory. I want to build two panels one
I am not sure if I formatted the title well but this is continued
The title doesn't describe this very well, but assuming the following simplified table in
Well, the title is pretty much self-explanatory. I've seen Quantian , but it's pretty
Well the title of this question might not actually reflect what I want, I
This seems like a well known title, but I am really facing a problem
Well I think the title of this question is far to be clear but
The title explains it pretty well, but I'm trying to build a 'for loop'
My title sums this up pretty well. My first though it to provide a
Well, title self describes it.. I need to run a sql function to clean

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.