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. Paging bos FA

Bos FA, 
Mohon japri yak, email nya yang kemaren kena delpri.....

Sent from my BlackBerry smartphone from Sinyal Bagus XL, Nyambung Teruuusss...!

"Indonesian Android Community [id-android]" 

2. Root samsul spica

pagi par suhu dan para suhi.....
mau tanya klo untuk root samsul spica selain samdroid apa lagi ya? soalnya
klo pake samdroid koq spica saya restart terus ya ga berenti2
mohon pencerahannya dari para suhu dan suhi di sini...

sent on gmail web

"Indonesian Android Community [id-android]" 

3. Astro expired 3 hari lagi


5. good sign for even better UI improvement on future Android

6. Re[2]: Permisi....

7. Re[2]: WTA: how to wipe Moto CLIQ