Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Huge unusable font size in Android Studio

As the title states, I've inadvertently set the font size to something gargantuan in Android studio and it's now totally unusable. At most I see the tops of a few letters once the program loads, so I can't even get back into the options to reduce the font size. Looking through the config files has given me no joy, so I am looking for some way of adjusting the settings from outside the program itself or deleting all user customised settings and starting again without completely deleting everything. I had tried to uninstall and reinstall, which worked for a short while then the font went back from normal to huge.

**Edit: I've managed to fix it (for now at least) by moving the .AndroidStudio1.2 file from my users folder and starting Android Studio again allowing it to reset.

like image 500
exlibris Avatar asked Jun 15 '15 14:06

exlibris


People also ask

How do I fix the text size on my Android?

To make your font size smaller or larger: On your device, open the Settings app. Search and select Font size. To change your preferred font size, move the slider left or right.

Which is the correct syntax to change the font size in Android Studio?

Go to File -> Settings -> Editor -> Font -> Size. Now Enter the suitable size and click Apply.

How do I stop system font size changing effects to Android application?

You cannot stop the user from changing the system font size; you'll just have to use dp and ignore the lint errors!


1 Answers

The way to fix this is pretty easy actually.

Navigate to C:/Users/< your account >/.AndroidStudio/config/options/

Open ui.Inf.xml and change the FONT_SIZE property to an appropriate value (12 is default iirc)

like image 119
d0nut Avatar answered Oct 08 '22 02:10

d0nut