Posted on 2014. 4. 3. 15:52
Filed Under ANDROID/View

textView.setTextSize(float) 는 기본적으로 sp값으로 적용된다.

px 단위의 값을 적용하려면 

setTextSize(TypedValue.COMPLEX_UNIT_PX, float); 를 사용하면 된다.

About

by 청지인

Notice

Counter

· Total
:
· Today
:
· Yesterday
: