android:textSize
is set to 16sp
, even then the font size is fixed when system font size is increased to max.
android:layout_width="match_parent"
android:layout_height="wrap_content"
TextView is contained in a FrameLayout
android:textSize
is set to 16sp
, even then the font size is fixed when system font size is increased to max.
android:layout_width="match_parent"
android:layout_height="wrap_content"
TextView is contained in a FrameLayout
if you want to your font size not changed according to the system font size i suggest you to use size in dp
.
as you see in Decouments:
An sp is the same base unit, but is scaled by the user's preferred text size (it’s a scale-independent pixel), so you should use this measurement unit when defining text size (but never for layout sizes).