Right now I am using the Darcula theme. I want to change the default font to something else. I go into Editor > Colors & Fonts > Font
but all the options are greyed out. For Editor Font
it shows Show only monospaced fonts
as checked with Primary font
as Monospaced, but neither of these can be changed. I tried changing the font under Appearance
but that just changes the font used around AS and not inside the editor.
To add fonts as resources, perform the following steps in the Android Studio: Right-click the res folder and go to New > Android resource directory. The New Resource Directory window appears. In the Resource type list, select font, and then click OK.
Tap on the "Display" and then the "Font and screen zoom" Scroll down the screen up to "Screen Zoom" and "Font Style." Under the "Screen Zoom" section, you can change the font size that you wish. Under the "Font Style" section, you can choose font style from the available list to set it as the system font.
First, add a font file in the src/main/assets/fonts/ of your project. Then create variables for Toolbar and text title and call the method findViewById(). Create a new Typeface from the specified font data. And at last setTypeface in text title.
"Roboto is a sans-serif typeface family developed by Google as the system font for its mobile operating system Android."
All you have to do is click the "Save As" button to create a new profile. You can't change the font because you can't overwrite the default profile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With