androidandroid-studiopreviewgutter

Android Studio gutter preview for drawable


I didn't even know about this gutter color/drawable preview feature until recently saw it on another computer "turned on" by default...

Anyway, back to my workstation, I try to enable the feature but have no luck.

Basically, for example, when I open colors.xml, my screen looks like this: https://i.sstatic.net/ii3Wn.png

In my settings, I think I have the required options checked to enable gutter preview: https://i.sstatic.net/LbynS.png

So where is my color/drawable preview in gutter? They are not shown both in xml and Java files.

Thanks/BR/Richard


Solution

  • OK, I managed to fix my gutter preview problem!

    Basically, I remove all preferences of my installation (I was planning to completely remove and reinstall my copy of Android Studio). I figured something might messed up during number of updates over same copy of installation since very first preview release!

    On Mac OSX, I followed the following steps: How to completely uninstall Android Studio?. Note that I had the latest copy of Android Studio already, so I simply just followed those steps to remove all preferences, and ran Android Studio.app again. Android Studio will prompt a Wizard page to step through setups just like it were new installation.

    I haven't tried on my work Windows machine yet. A quick search shows steps required to remove Android Studio on Windows completely: Completely remove Android Studio, Eclipse and all the libs/packages installed with them.