android - My TextView expands to hold larger amount of text but that distorts the layout? -


here images of application 2 different inputs: 60! , 125!

this result 60!

with 60! buttons not distorted.

this result 125!

with 125! buttons gone.

add android:maxlines , android:ellipsize attributes textview xml below...

 <textview     android:layout_width="fill_parent"     android:layout_height="wrap_content"     android:maxlines="3"     android:ellipsize="end" /> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -