Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- KIA타이거즈
- 조동화선수
- textview
- 땀땀
- Linux
- skipMemoryCache
- 인천SK행복드림구장
- 조동화 은퇴식
- 1루 응원지정석
- setStyle
- 안드로이드
- 인천SK와이번스
- 인천 논현동
- Android
- VirtualBox
- diskCacheStrategy
- 인천 맛집
- Java
- CentOS 7
- 정보처리기사
- 게스트 확장
- RecyclerView
- 우삼겹 쌀국수
- 이마트프랜들리존
- 버추얼박스
- SK와이번스
- 문학야구장
- divider
- 행복라이브존
- 리눅스
Archives
- Today
- Total
쭌2 블로그
[안드로이드/Android] 글자 단위 자동 개행 TextView 본문
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
public class CharacterWrapTextView extends android.support.v7.widget.AppCompatTextView { public CharacterWrapTextView(Context context) { super(context); }
public CharacterWrapTextView(Context context, AttributeSet attrs) { super(context, attrs); }
public CharacterWrapTextView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); }
@Override public void setText(CharSequence text, BufferType type) { super.setText(text.toString().replace(" ", "\u00A0"), type); } } |
cs |
'IT > Android' 카테고리의 다른 글
[안드로이드/Android] WebView response heade 가져오기 (0) | 2019.09.17 |
---|---|
[안드로이드/Android] WebView request custom header 추가하기 (0) | 2019.09.17 |
[안드로이드/Android] Glide 라이브러리 이미지 캐시를 이용하지 않고 로딩하기 (0) | 2019.06.13 |
[안드로이드/Android] ViewPager Swiping 제어하기 (0) | 2018.09.12 |
[안드로이드/Android] Button의 기본 Padding 제거하기 (0) | 2018.09.12 |
Comments