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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:27:27+00:00 2026-05-24T10:27:27+00:00

I have created a login page for an App I am creating. I am

  • 0

I have created a login page for an App I am creating. I am in the process now of making the UI look decent. In my login page (and other pages where I need to input data) if the phone is vertical the EditText boxes won’t snap to the screen to view what is being typed. Whereas if the phone is Horizontal it does?

Do any of you have any idea why this may be happening?

Here is the XML code if it helps:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal" android:layout_width="fill_parent"
    android:layout_height="fill_parent" android:background="@color/background"
    android:padding="30dip">

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical" android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:layout_gravity="center">
        <TableLayout android:layout_width="fill_parent"
            android:layout_height="wrap_content" android:gravity="center"
            android:stretchColumns="*">
            <EditText android:id="@+id/username" android:layout_width="fill_parent"
                android:layout_height="wrap_content" android:background="@android:drawable/editbox_background" />
            <EditText android:id="@+id/password" android:layout_width="fill_parent"
                android:password="true" android:layout_height="wrap_content"
                android:background="@android:drawable/editbox_background"
                android:inputType="text" />
            <TableRow>
                <Button android:id="@+id/submit_button" android:layout_width="fill_parent"
                    android:layout_height="wrap_content" android:text="@string/login_label" />
                <Button android:id="@+id/back_button" android:layout_width="fill_parent"
                    android:layout_height="wrap_content" android:text="@string/back_label" />
            </TableRow>

            <TextView android:layout_width="fill_parent"
                android:layout_height="wrap_content" android:layout_marginBottom="25dip"
                android:gravity="center" android:id="@+id/txtServerStatus" />
        </TableLayout>
    </LinearLayout>
</LinearLayout>
  • 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-24T10:27:28+00:00Added an answer on May 24, 2026 at 10:27 am

    use

    android:SingleLine="true".
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created login page forced login in several pages. Now i need to
I have created a simple facebook login page at: http://bit.ly/Ims3U6 In the app settings:
I have created an app which starts with a login page, after entering some
I have created a user login page and am using Forms Authentication. Users are
Just starting out in asp.net. Have just created a login.aspx page in my site
I've created a login page and in the db table i have a field
I'm creating a login page. I want to create ASP.NET TextBox controls that have
I have created a login page using a nice guide that I found about
I have created a simple Facebook app and added it as a tab page.
i have created a login page for some application in android and i want

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.