I want to specify my own text size in my application, but I am having a problem doing this.
When I change the font size in the device settings, the font size of my
Also note that if the textSize is set in code, calling textView.setTextSize(X) interprets the number (X) as SP. Use setTextSize(TypedValue.COMPLEX_UNIT_DIP, X) to set values in dp.
textView.setTextSize(X)
setTextSize(TypedValue.COMPLEX_UNIT_DIP, X)