I want to Limit the maximum no of words in a TextView instead of maximum no of characters.
My android code is like:
    <TextView
        android:id="@+id/orgSummary_desc_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="10dp"
        android:paddingLeft="5dp"
        android:paddingRight="5dp"
        android:paddingBottom="10dp"
        android:gravity="top"
        android:maxLength="100" 
        android:textSize="@dimen/subtitle_text"
        android:autoLink="web"
    />
I am setting a long text from my activity class and the result i am getting that some no of characters are chopped off. Instead i want the word.
 
     
     
    