Reputation: 6591
i have set maxlines 3 in my textview and i need ellipse end ,i have set it but not working how can i do this ?
<TextView
android:id="@+id/descriptionTextView"
android:paddingTop="@dimen/descriotionTextViewPaddintTop"
android:paddingLeft="@dimen/descriotionTextViewPaddintLeft"
android:textSize="@dimen/description"
android:textColor="@color/black"
android:layout_width="match_parent"
android:singleLine="false"
android:maxLines="3"
android:ellipsize="end"
android:layout_height="wrap_content"
/>
Upvotes: 0
Views: 851
Reputation: 1374
If I understand your problem correctly, then this is a bug in android. [LINK].
Refer [this code] for a solution.
Upvotes: 1