android change layout when font size changes code example
Example: how to change text size of textview with code in android studio
textView.setTextAppearance(getActivity(), R.style.fontForNotificationLandingPage);
textView.setTextAppearance(getActivity(), R.style.fontForNotificationLandingPage);