2011-03-22 6 views
0

내 textview에 maxlines 3을 설정 했으므로 타원형 끝이 필요합니다. 설정했지만 작동하지 않습니다. 어떻게해야합니까?android multiline text and ellipise end

<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" 
       /> 
+0

코드 붙여 넣기 –

답변

1

나는 올바르게 문제를 이해한다면, 이것은 android의 버그입니다. [LINK].

해결 방법은 [this code]을 참조하십시오.