2013-12-16 2 views
0

텍스트가 더 길고 'match_parent height'보다 높은 경우 안드로이드 4.3 textlines이 textview에서 사라지는 이상한 문제가 있습니다. 누구든지이 사실을 발견하고 이에 대한 해결책을 찾았습니까? 밑줄이 보이지만 조금 위로 스크롤하면 사라집니다. 라인의 어떤 텍스트보기 증가 할 때안드로이드 4.3 Textview (scrollview 내에서)에서 텍스트 줄을 깜박임

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:tools="http://schemas.android.com/tools" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
android:background="@drawable/nowback" 
android:id="@+id/view1" 
tools:context=".MainActivity$DummySectionFragment" > 

<ScrollView 
    android:id="@+id/scrollView1" 
    android:layout_margin="20dp" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:layout_alignParentLeft="true" 
    android:layout_alignParentRight="true" 
    android:layout_alignParentBottom="true" > 

<TextView 
    android:id="@+id/section_tekst" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    android:alpha="0.9" 
    android:background="#ffffff" 
    android:padding="20dp" 
    android:textSize="@dimen/font_size" 
    android:typeface="serif" 
    android:visibility="invisible" /> 

</ScrollView> 

답변

0

다음이 깜박임을 시작하지 않습니다 :

여기 내 레이아웃입니다. 텍스트보기에서 줄 수를 수정하거나 특정 시간에 줄 수를 제거하십시오.

1

문제는 텍스트 뷰의 "알파"구성 요소 때문입니다. 동일한 문제가 있지만 ViewContainer 내에서 textview 포함되어 있으며 1.0 미만의 알파를 설정하면 모든 깜박임

관련 문제