Android: Quick Fix using compound drawables

How to do quick fix in such situation in IntelliJ IDEA 12.1.1

Here's example layout

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android=""



Lint check:

       Checks whether the current node can be replaced by a TextView using     compound drawables.

A `LinearLayout` which contains an `ImageView`     and a `TextView` can be more efficiently handled as a compound drawable (a     single TextView, using the `drawableTop`, `drawableLeft`, `drawableRight`     and/or `drawableBottom` attributes to draw one or more images adjacent to     the text). If the two widgets are offset from each other with margins,     this can be replaced with a `drawablePadding` attribute. There's a lint     quickfix to perform this conversion in the Eclipse plugin.   

Alt+Enter doesn't suggest to quick fix
In Eclipse quick fix works fine. Should I do it manually all the time or there is a way to fix it like in Eclipse?

Thanks in advance!

Comment actions Permalink

Unfortunatelly this quick fix is not yet implemented in IntelliJ. I've created an issue for this


Please sign in to leave a comment.