Recent Changes‎ > ‎

Image and Color Selector Previews

posted Jun 13, 2011, 4:27 PM by Tor Norbye   [ updated Jun 14, 2011, 12:16 PM ]
When you drop an ImageView from the palette, or when you use the property sheet or property context menu to customize any attributes that reference a color or drawable, a "resource chooser" (or in some cases a "reference chooser") is shown, where you can see all the available resources in the project or framework, and pick one to assign to the attribute.

In the latest builds we now have a preview in these dialogs which shows the image you've selected:
This works for colors too:
Longer term we plan to do more in this area, such that you for example can see whether the color contains a state-list and if so what the states are and what the corresponding colors look like.