개발/Android
[안드로이드] TextView 한 줄만 표시하기 (뒷 부분 ... 으로 생략)
뚀니 Ddoeni
2019. 1. 16. 15:10
728x90
xml 파일 텍스트뷰 속성에 해당 설정을 추가하면 된다.
android:ellipsize="end"
android:singleLine="true"
※ TextView 가 wrap_content 상태일 경우 적용되지 않는다.
300x250