跳转到主要内容
- px: 像素
- sp: 缩放无关(scale-independent)的像素,用户可以在系统设置中修改(比如有人眼睛不好,把字体设大一些)
- dip(即): 密度无关(Density-independent)像素
字体用sp;其它所有内容用dip。
最新内容
3 days 4 hours ago
2 weeks 4 days ago
3 weeks 3 days ago
3 weeks 5 days ago
1 month ago
1 month 1 week ago
1 month 1 week ago
1 month 1 week ago
1 month 1 week ago
1 month 1 week ago
评论