scale text with % android xml 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);