Huge unusable font size in Android Studio

时间:2015-06-15 14:26:56

标签: android android-studio fonts

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.

2 个答案:

答案 0 :(得分:1)

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)

答案 1 :(得分:0)

Outside of Android Studio, find your Project folder location, go into it and go into the res>layout folders, find your XML layout, open and edit the layout in notepad and you can change the size outside of Android Studio

Since you seem to be in quite the situation, go ahead and try these steps:

ctrl+alt+s

up arrow key (x7)

right arrow (x1)

down arrow (x1)

tab (x4)

backspace (x5)

type "12"

press enter