android - Setting the text of TextView that fits the screen Height and Width independently of the text size of TextView -


i have large string wont fit in screen if shown textview. 1 tell me how select sub string fit screen height , width independently of text size of textview.

add these attribute textview in xml

   android:singleline="true"    android:layout_width="fill_parent"    android:layout_height="wrap_content" 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -