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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:18:55+00:00 2026-05-31T05:18:55+00:00

I have a textView with text=Address. In Android ICS, i sometimes see it in

  • 0

I have a textView with text=”Address”. In Android ICS, i sometimes see it in my screen like

Addres

s

and not in the same line

Address

How can i fix it?There is no problem with the available space in the screen..Thanks

This is the xml for the textView:

<TextView android:id="@+id/text_title"
android:textColor="#780000"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="26px"
android:textStyle="bold"
android:layout_gravity="center"
android:layout_marginLeft="20px"
/>
  • 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-31T05:18:55+00:00Added an answer on May 31, 2026 at 5:18 am

    //use always “sp” for font and rest as “dp”

    //here you are using wrap content then position is not enough to display you text content

    try android:layout_weight="1" or change you android:layout_width=”fill_parent”

    <TextView android:id="@+id/text_title"
    android:textColor="#780000"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:textSize="16sp"
    android:singleLine="true"
    android:textStyle="bold"
    android:layout_gravity="center"
    android:layout_marginLeft="10dp"
    />
    

    give 16sp default is 14sp.

    if your running ICS i.e xhdpi then it will automatically adjust to

    16×240÷160 = 24 //hdpi
     16×320÷160 =32 //for xhdpi
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following TextView in my XML layout file:- <TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/autolink_test
I have a TextView with android:autoLink=email. If I put my email address in there
I have a custom Dialog that contains only a TextView to display some text
I have a problem with TextView and autoLink feature. I have an about screen
I have a textView with some text in it. I want to delete the
I have TextView and want to use setScaleX()/setScaleY() to make the text zoomable. But
I have textview inside that i want to change the text size of text
i have a textview and imageview inside a linearlayout. textview containes more text so
I have a Textview in which i am showing text 12345 now i want
I have a TextView whose contents are copied from a text file. Now each

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.