Android Settings app - Default font sizes used for titles and subtitles

222 Views Asked by At

What font sizes are used by default in the Settings app for the titles and subtitles? The option in the red rectangle is an example.

enter image description here

1

There are 1 best solutions below

0
Tenfour04 On BEST ANSWER

If there even is a recommendation, I suppose it would be to use the default sizes used by the Jetpack Preferences library. These use

?android:attr/textAppearanceListItem

and

?android:attr/textAppearanceListItemSecondary

so it is pulling the text styles from the theme. In the latest Material Components theme, if you follow the chain of references all the way up to what font sizes they are using by default, they are 16sp for the title and 14sp for the summary.