텍스트보기와 그 롤링을 미리 롤리팝 버전에서 부드럽게 수행 할 수 있습니다. 하지만 롤리팝 버전 이상에서는 작동하지 않습니다. 이것 좀 도와주세요.Textview 롤리팝 버전에서 움직이지 않는 움직이는 문자
다음은 XML 코드입니다. 수직 대 수평
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:id="@+id/textView1"
android:layout_gravity="center_horizontal"
android:ellipsize="marquee"
android:singleLine="true"
android:layout_marginTop="-12dp"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:textColor="@color/white"
android:background="#00AEEF"
android:focusable="true"
android:focusableInTouchMode="true"
android:fadingEdge="horizontal"
android:freezesText="true"
/>
는 "txtView.setSelected을 추가 한 사실 사용하는 텍스트 뷰 확장); " 당신의 코드에서? –
@sunilsunny : 예. 전 롤리팝 버전에서는 텍스트 선택 윤곽이 추가되었지만 롤리팝 이상에서는 허용되지 않습니다.하지만 감사합니다. – theP