Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于160dpi(MDPI) 屏幕,1dip是1px,如下所示,
160dpi
1dip
1px
对于320dpi(XHDPI) 屏幕,1dip是2px,如下所示,
320dpi
2px
对于240dpi(HDPI) 屏幕,1dip是1.5px, 但是,
240dpi
1.5px
如何1dip以像素为单位显示240dpi(HDPI) 屏幕?