android studio textview font size code example
Example 1: android textview multiple font size
txtView.setText(Html.fromHtml("<html><body><font size=5 color=red>Hello </font> World </body><html>"));`
Example 2: how to change text size of textview with code in android studio
textView.setTextAppearance(getActivity(), R.style.fontForNotificationLandingPage);