Use dp if you want to mention width and height to grow & shrink dynamically based on screen sizes. if we give dp/dip, android will automatically calculate the pixel size on the basis of 160 pixel sized screen. SP(Scale independent pixels): scaled based on user’s font size preference. Fonts should use sp. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.