나는 textview를 움직이기를 원하지만, 제대로 할 성공을 얻지는 못한다. 비록 내가 몇 가지 예제를 통해 간 stackoverflow 줄었지만, 여전히 문제가 있습니다. 아무도 도와 줄 수 있니?안드로이드에서 움직이는 문자
0
A
답변
1
보복 만들 수있는 최소 코드 -
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/MarqueeText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:scrollHorizontally="true"
android:singleLine="true"
android:text="This is a very long text which is not fitting in the screen so it needs to be marqueed."
android:textAppearance="?android:attr/textAppearanceLarge" />
이 당신의 보복 더 호감보기를 만들려면 : http://yhisham.blogspot.in/2012/08/android-how-to-make-marquee-ticker.html를
3
나를 위해이 작동이 시도
<TextView
android:text="Android Marquee"
android:id="@+id/MarqueeText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:paddingLeft="15dip"
android:paddingRight="15dip"
android:focusable="true"
android:focusableInTouchMode="true"
android:freezesText="true">
</TextView>
관련 문제
- 1. html로 움직이는 문자
- 2. 매끄러운 jQuery 움직이는 문자?
- 3. gluUnproject 질문/움직이는 문자 질문
- 4. 안드로이드에서 중국어처럼 보이는 일본어 문자
- 5. 안드로이드에서 간단한 이메일 문자 발신자를 만드는 방법?
- 6. 안드로이드에서 SAXParser를 사용하여 문자 메소드를 구현하는 방법
- 7. 5 개의 별표 후 문자 메시지 변경 (어쩌면 움직이는 동영상)
- 8. 움직이는 구
- 9. 움직이는 그림을
- 10. 질량 중심 뷰포트에서 움직이는 물체
- 11. 패널에서 움직이는 pictureBox
- 12. TitleBar에서 이미지를 움직이는 방법?
- 13. 코로나에서 움직이는 장면
- 14. C++ : 움직이는 FPS 계산
- 15. EditText 상자에서 움직이는 텍스트?
- 16. 캔버스에서 자유롭게 움직이는 방법?
- 17. 느린 움직이는 물체 (Visual)
- 18. 플래시 : 움직이는 캐릭터를 말하십시오
- 19. UIButton 움직이는 문제
- 20. 안드로이드의 움직이는 텍스트
- 21. CSS를 움직이는 배경 이미지
- 22. inkpresenter에서 획을 움직이는 것
- 23. 움직이는 물체와의 충돌
- 24. 움직이는 항목이있는 격자
- 25. 움직이는 내용이있는 CATiledLayer
- 26. 공간이없는 움직이는 텍스트
- 27. 자바 : 각도로 움직이는 공?
- 28. 움직이는 picturebox에 문제가 있습니다.
- 29. 안드로이드에서 XML 파일을 읽으려면
- 30. 움직이는 하위를 필터링하는 jquery 선택기
누군가가 도울 수 있는지 묻는 대신 귀하의 특정 문제에 대해 자세히 설명하십시오. –
시도한 특정 문제 또는 코드와 무엇이 잘못 되었습니까? – Yahel