Addition of theme resources with android:textSize items and 17sp(Medium) and 19sp(Large) attributes to be used for SettingsActivity.
Addition of style resources with itemTextAppearance items and ?textAppearanceTitleSmall, ?textAppearanceTitleMedium, and ?textAppearanceTitleLarge attributes to be used for NavigationView.
SharedPreferences "settings_fontsize" string value is checked to determine the selected font size setting and getTheme().applyStyle() is used for the SettingsActivity font size changes while setItemTextAppearance() is used for the programmatic setting of itemTextAppearance for NavigationView.
Navigation drawer font size change is reflected in every activity that can access the navigation drawer.
Addition of theme resources with android:textSize items and 17sp(Medium) and 19sp(Large) attributes to be used for SettingsActivity.
Addition of style resources with itemTextAppearance items and ?textAppearanceTitleSmall, ?textAppearanceTitleMedium, and ?textAppearanceTitleLarge attributes to be used for NavigationView.
SharedPreferences "settings_fontsize" string value is checked to determine the selected font size setting and getTheme().applyStyle() is used for the SettingsActivity font size changes while setItemTextAppearance() is used for the programmatic setting of itemTextAppearance for NavigationView.
Navigation drawer font size change is reflected in every activity that can access the navigation drawer.
SettingsActivity (Small Font Size Selected):
SettingsActivity (Medium Font Size Selected):
SettingsActivity (Large Font Size Selected):
Navigation Drawer (Small Font Size Selected):
Navigation Drawer (Medium Font Size Selected):
Navigation Drawer (Large Font Size Selected):