Eclipse and Android XML layouts gives “‘default’ is not a best match for any device/locale combination”

No don’t ignore it, it does mean something.

What it is saying is that Eclipse has found a layout which it believes is more accurate and is switching to it.

So for example if you have a default layout and a low density layout, it will switch to the low density layout. Any changes you make to the layout will be in the low density code not in the default code.

I don’t know how to switch back, which is getting very annoying, apart from closing the xml and opening up the correct one.

If anyone knows how to switch, and yes I have tried changing the settings at the top of the editor between low density and medium density devices, please tell me. Thanks.

Leave a Comment