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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:09:24+00:00 2026-06-16T19:09:24+00:00

I put a text from a database, but in the field shows only two

  • 0

I put a text from a database, but in the field shows only two lines and the rest of the text is cut off and put three dots.

file.xml

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/svRut"
  android:layout_width="match_parent"
  android:layout_height="fill_parent"
  android:layout_gravity="right" >

 <LinearLayout
   android:id="@+id/llRut"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   android:gravity="center_horizontal"
   android:orientation="vertical"
   android:padding="5dp" >

 <TextView
    android:id="@+id/textDescript"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:ellipsize="end"
    android:text="@string/mus_textdes" />
</LinearLayout> 
</ScrollView>

File.java

...
textDescript.setText(onExes.getString(onExes.getColumnIndex("exes_desc")));
...

Screen the problem

  • 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-16T19:09:26+00:00Added an answer on June 16, 2026 at 7:09 pm

    Why does TextView not expand and cut the text?

    => Just because you have included android:ellipsize="end", remove it if you don’t want that ending dots.

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

Sidebar

Related Questions

I could put a text file in folder res\raw of a library project, but
The following jQuery example should put some text into the div, but it doesn't.
I have a form with a text area field. I put some text information
The PHP code won't delete item from database using $noteid. If I put a
m surffing from one proble. in my project layout i put one edit text
I want to process a field retrieved from the database for a Gridview to
I was trying to put text in front of an image and what happened
I'm developing this application where you can put text and drawings in a page.
i have seen people localize their form using resource. put text data in resource
I am trying to put full text search working on SQL Server 2008, however

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.