2016-07-06 2 views
-1

textView에서 전체 텍스트를 표시하려면 어떻게해야합니까?TextView가 전체 텍스트로 나타나지 않습니다.

<TextView 
      android:text="رَضيـتُ بِاللهِ رَبَّـاً وَبِالإسْلامِ ديـناً وَبِمُحَـمَّدٍ صلى الله عليه وسلم نَبِيّـاً." 
      android:textAppearance="?android:attr/textAppearanceLarge" 
      android:layout_width="match_parent" 
      android:layout_height="76.0dp" 
      android:id="@+id/textVieww48" 
      android:textColor="@color/black" 
      android:paddingTop="30px" 
      android:maxLines="2" 
      android:lines="2" 
      android:minEms="2" 
      android:ellipsize="end" 
      android:singleLine="false" /> 

답변

0

또한 2 선, 고정 된 높이를 가지도록 텍스트 뷰를 강요하고 ellipsize을 가능하게하고, 2 라인의 최대 수를 설정하는 ... 이러한 옵션없이

시도 :

<TextView 
      android:text="رَضيـتُ بِاللهِ رَبَّـاً وَبِالإسْلامِ ديـناً وَبِمُحَـمَّدٍ صلى الله عليه وسلم نَبِيّـاً." 
      android:textAppearance="?android:attr/textAppearanceLarge" 
      android:layout_width="match_parent" 
      android:layout_height="wrap_content" 
      android:id="@+id/textVieww48" 
      android:textColor="@color/black" 
      android:paddingTop="30px"/> 
+0

정말 고마워요. –

관련 문제