天天看點

android中的機關——pt

牛客網中刷題如下:

android中的機關——pt

這道題我是猜的,經過查閱資料後,下面寫上我的了解。

首先, pt(磅):1/72英寸。

螢幕密度為160,那麼1sp = 1/160 英寸