I would like to use a TextSwitcher as opposed to a TextView because of the animations available, but does someone know how to use a custom Typeface for the text? I don’t want to use the default font.
I would like to use a TextSwitcher as opposed to a TextView because of
Share
Just use the
android:fontFamilyattribute for each childTextView.The
TextSwitcherwill alternate between the twoTextViewchildren, using the font family (Typeface) you specify.