What is difference between SP and dp?
SP: is an abbreviation for Scale independent pixels. It is the same as the dp unit, but it is additionally scaled according to the user’s font size selection. DP: A virtual pixel unit used to communicate layout dimensions or location in a density-independent manner while creating UI layout. What is difference between dp and SP? SP: is an abbreviation for …