ADT Layout Editor -- What do warning triangles mean?

by Xavier Ducrohet » Tue, 14 Apr 2009 08:59:17 GMT

Sponsored Links
 This is very much a work in progress, and unfortunately it's not
really documented at this time.

The triangle icon (which is a warning icon) means that you have
requested a particular value for a resource qualifier but no layout
file matching it was found and a default file is used..

For example:
- Edit res/layout/main.xml
- In the top bar above the preview display it should say "Current
config: default"

- Set orientation to landscape => ADT will look for a res/layout-land/main.xml.

- if Found => ADT will switch the edited file to this file (and will
now display "Current config: landscape").
- if not found => a warning icon next to landscape is displayed.
default layout file is still edited.


Xavier Ducrohet
Android Engineer, Google.


ADT Layout Editor -- What do warning triangles mean?

by Raphael » Tue, 14 Apr 2009 13:04:35 GMT

 Note that the various fields correspond to the resource qualifiers
documented here: #AlternateResources



Sponsored Links

Other Threads

1. Does Intent use Binder driver to implement?


Intent and Binder are both IPC mechanisms in Android.
I would like to know: Does Intent uses Binder driver to implement?
May Intent use other part of kernel?
Or Intent has no relationship with kernel....?

Thanks anyway.


2. Update language in Widget

I have a widgett that supports for many languages, but if the user change
the language in Settings, my widget don't update.. Only works, if I close it
and open again, or rebook the handset..
Someone have any suggestion for me to solve this?



3. What am I doing wrong?

4. msm72k_udc: msm72k_dequeue() fi

5. Did Google really remove the ability to call the CropImage activity from Android 2.x apps?

6. stuck in OnTouchEvent & OnClikc method. please help

7. Issue regarding writing to the Bluetooth Device.