sp behaves like dp but also scales with the user's system font-size accessibility setting — always use sp for text, dp for everything else. px = sp × density scale × font-scale.