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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:08:06+00:00 2026-06-14T05:08:06+00:00

I am using android:inputType=textEmailAddress|textEmailSubject on some fields to prevent long lines from wrapping per

  • 0

I am using android:inputType=”textEmailAddress|textEmailSubject” on some fields to prevent long lines from wrapping per a suggestion on a post here on Stackoverflow. However I just noticed that on my Nexus-S (but not the Samsung Tab-2 7) some of the text is underlined in red.

For example “18 BR” has the BR undelined. But “NAS2” is not underlined. “TI” is underlined. If I remove the android:inputType=”textEmailAddress|textEmailSubject” then the underlines go away but the lines can wrap with long user names.

<!-- Readout Waypoint Name -->
<TextView
    android:inputType="textEmailAddress|textEmailSubject"
    android:id="@+id/textWaypoint"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_centerHorizontal="true"
    android:text="--"
    android:textAppearance="?android:attr/textAppearanceLarge"
    android:textSize="@dimen/menu" />

What is the best way to solve this. I can find nothing in Google or on Stackoverflow and have no idea what the best way to solve it is.

  • 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-14T05:08:07+00:00Added an answer on June 14, 2026 at 5:08 am

    Remove android:inputType property and use below lines in your TextView to fix your problem

    android:ellipsize="end"
    android:singleLine="true"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Android opengl I need to move an object from point A to point
I currently using android NDK to write some native code in C. I have
I am using Android SDK 1.6 and developing some simple apps. It seems everytime
I have an EditText using android:inputType=textPostalAddress as the keyboard type. I would like it
How do I record some audio using Android?
Just noticed that android:password has been deprecated , and we should be using android:inputType.
I am using following TextView to display some data in it: <TextView android:id=@+id/notificationText android:layout_height=wrap_content
I've been using Android ProgressBar quite a lot. The only thing here is for
I'm using Android and Google Maps at API level 10, and I get latitude
I am using android 2.1 platform.The code I have will display the Name number

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.