All the fonts in the editor have suddenly become bold as you can see in the picture. I don't think it was something I did. Where can I set the font style for this?
I'm using Android Studio 2.1 on an Ubuntu machine if that makes any difference.
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.
These fonts are compiled in your R file and are automatically available in Android Studio. You can access the font resources with the help of a new resource type, font . For example, to access a font resource, use @font/myfont , or R. font.
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.
Go to 'File' --> 'Settings' and under 'Appearance & Behavior' to go 'Appearance'. Try forcing a change with the fonts by clicking on the 'Override default fonts by (not recommended):' and choosing a font style & font size. Click 'Ok', see how this changes your font bold issue and perhaps change back.
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