edit text size android studio 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);