android - How does dp has fixed value to measure size? -


how density-independent pixel dip used measure size , assumed dip = 160 dpi , dpi has not fixed size ?

a dp 1/160 inches. dpi of phone can (although values more common others). when calculating how many pixels big 1 dp is, formula dpi/160.


Comments