Mac Mittereder
Mac Mittereder

Reputation: 21

how do i change the font back to default after it was already changed

In an app that I'm creating i created an option to change the font of the app, everything works out but i don't know how to set it back to default when the default option is pressed, is there a default ttf file somewhere?

Upvotes: 0

Views: 80

Answers (1)

A. AMAIDI
A. AMAIDI

Reputation: 6849

you can use

 myTextView.setTypeface(Typeface.DEFAULT);

Upvotes: 2

Related Questions