각 항목에 대한 실행 프로그램 응용 프로그램이 있는데 과 함께 ImageView
을 표시합니다. 내 문제는 매우 긴 이름을 가진 응용 프로그램과 관련이 있습니다.TextView의 텍스트를 Android에 어떻게 놓으시겠습니까?
텍스트를 표시하기 위해 한 줄을 사용하므로 모든 제목이 표시되지 않지만 원하는 것은 회전하는 텍스트를 표시하고 사용자가 모든 제목을 읽을 수 있도록하는 것입니다. 텍스트를 움직이는 방법.
이 기술은 삼성 스마트 폰에서 보았습니다. 내 항목은 아래 코드로 제공됩니다.
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/label"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:ellipsize="end"
android:singleLine="true"
android:paddingTop="4dp"
android:textSize="14dip"
android:textColor="@android:color/black"
android:gravity="center_horizontal|center_vertical" />
사용 로이드 : ellipsize = "윤곽" –
http://stackoverflow.com/questions/5472362/android -automatic-horizontally-scrolling-textview. 이것 좀 봐. – user1728071