Bytecode
Bytecode

Reputation: 6591

android multiline text and ellipise end

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

Answers (1)

Udayan
Udayan

Reputation: 1374

If I understand your problem correctly, then this is a bug in android. [LINK].

Refer [this code] for a solution.

Upvotes: 1

Related Questions