When I use
android:textSizes=\"20dp\"
in my XML for a textView, I got a warning \"Should use \"sp\" instead of <
textView
\"sp\"
You can use sp and dp. As you know in Android settings you can change text size (Settings -> My device -> Display -> Font size). All your textView in sp would change after changing font size in settings, dp - would not change