标签:
都表示像素,只不过sp通常表示文字大小:
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="22sp" />
px和sp什么区别
原文地址:http://www.cnblogs.com/johnsonwei/p/5941250.html