androidandroid-settings

AndroidX Preference library title and summary text sizes


I'm using the Settings library on my app and since I'm going to creat a very similar screen on my app, I'd like to know what are the sizes of the title and summary textviews to maintain a similar look.

enter image description here


Solution

  • You can simply use Android Studio layout inspector and check the TextViews font sizes. You can access the layout inspector by searching for it with "double shift" shortcut.

    When you inpect the layout, you will see that the Title is 16sp and the Summary is 14,2sp