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.

Xav






-- 
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:
 http://developer.android.com/guide/topics/resources/resources-i18n.html #AlternateResources

R/




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. syslogd on the android kernel variant?

Hi,

I cannot find /etc/syslog.cong
nor /var/log/

syslogd does not seem to be configured / built into the kernel.
How can I do this?

Cheers,
Earlence

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. Hidden Broken images in Webview

Hello all!! I load a webpage in webview but it results that there is a
broken image. I check the html and load it in PC, everything is ok. I
don't know why..However, I think hidden the broken image is fine. Does
any one know how to disable to show broken images automatically?

Thanks

-- 

3. Change name space

4. Problem with mediaplayer to play live streaming audio

5. Mistake in official Sample ?

6. layout inflator

7. Regarding Scale Animation in 2d graphics