I am trying to extract style in android studio 0.8.9 using the refactor option. But it seems to be disabled for some reason. I have tried cleaning and rebuilding the project just in case and even restarting Android Studio, but nothing seems to enable the extract style option.
Do let me know if anybody else is facing the same problem or is there a way to solve this ? Screenshot image:
I had the same problem. Extracting styles is different in Android Studio:
You don't need to select text and choose Refactor->Extract->Style
, just choose the menu option With no text selected.
So, just click anywhere inside the ImageView element (Do not select any text). The refactor option should become available.
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