Question: what is dp and sp in android?
Answer: sp stands for scale-independent pixels. dp or dip (just use dp in your code if you're cool) stands for density-independent pixels. What is the difference between the two? None! They both have 160 units per square inch, they are both density independent, and neither have the same physical size on different screens.