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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:36:49+00:00 2026-05-30T03:36:49+00:00

I built a screen that looks like this: but if login fails the screen

  • 0

I built a screen that looks like this:

but if login fails the screen turns out to look like this:

I used EditText and the code looks like this:

<TextView android:layout_height="wrap_content"  
            android:layout_width="wrap_content"  
            android:text="email"></TextView>  
        <EditText 
            android:layout_height="wrap_content"  
            android:layout_width="fill_parent" 
            android:id="@+id/username"
            android:hint=""
            android:textStyle="normal"
    android:singleLine="true" 
            android:inputType="textEmailAddress">                
        </EditText>  
        <TextView android:layout_height="wrap_content"  
            android:layout_width="wrap_content"  
            android:text="password">
        </TextView>  
        <EditText 
            android:layout_height="wrap_content"  
            android:layout_width="fill_parent"
            android:id="@+id/uc_txt_password" 
            android:hint=""
            android:textStyle="normal"
    android:singleLine="true"
            android:inputType="textPassword">
        </EditText>  

Any ideas?

Update:
It seems that the bogus display is the way it displays on Ice-cream-sandwich by default. I am using an older version of android (2.2) on which the display looks like the first attached pic.

  • 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-30T03:36:51+00:00Added an answer on May 30, 2026 at 3:36 am

    ICS Introduces a more “open” text layout (look at the gmail app) where edit text’s default style lack borders. You should more rigidly define your style to be how you want it on all devices if you don’t want it to look like how the device sets it. Perhaps use some 9 patch images and state selector xml files. So if you’re setting the background to something like white and not defining any other styles it might be inheriting from Holo.Dark and using this as the edit text bg: https://github.com/android/platform_frameworks_base/blob/master/core/res/res/drawable-hdpi/textfield_default_holo_dark.9.png

    Thus, no visible text. Define your style more rigidly, or set your themes better and don’t override the other backgrounds.

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

Sidebar

Related Questions

JotNot has a screen that looks like this . It's similar to the built-in
i would like to know how to build a screen that looks exactly like
I built a HTML5 webapp for iPad which used the splash screen for landscape
I'm trying to build a screen like this: How can I split my cell
I'm trying to build a screen like this: How can I put my span
I've got xml that looks like what I have below. I can read the
I'm trying to create an animation that would look like 2 french doors (or
I am trying to build a help screen that is going to go on
my question is how do I take a screenshot using the built in screen
I want to build a navigation screen, just like installation shields has (next/previous stuff),

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.