Reputation: 3
When we define a size of the text on a TextView using the sp as measure but the android user preference for font size is set to large, which of the configuration has preference over each other?
Upvotes: 0
Views: 71
Reputation: 310
If you use "dp" instead of "sp", your text size won't change upon android users font size preference. Android Studio may suggest for using "sp". But you may use "dp" on textSize anyway.
Upvotes: 1