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. D-GPS Enabled Development Phones

Looking for a development phone which has D-GPS. 


The Bad - this will only work outdoors 
The Good - Will not need a phone plan to use A-GPS 


Looks like the only phone with D-GPS is the Geeksphone ? 

Wonder if this comes with a US based power supply ?

http://www.geeksphone.com/en/moviles/especificaciones.php


list of Android phones from a previous post =>

http://spreadsheets.google.com:80/pub?key=rdm8c2ZfSDKd5l-dVy4SrnA&out... 


-- 

2. What is the deal with the android: namespace?

Is there any plan to eliminate the requirement to add the "android:"
namespace to attributes in layout files?

In my current project, "android:" prefixes make up a little over 20%
of all of the text in the layout files.  And instead of adding value,
they make the files VERY DIFFICULT TO READ AND EDIT.  I believe it is
a well known maxim in the developer community that code is read many
more times than it is written.

Is there any relief in sight?

-- 

3. how to overcome "permission denied" error when SystemProperties.set

4. Contacts 2.0: How to create a Contact without an Account? ("Unsynched")

5. Integration of Custom SW libraries and executables in Android System.img

6. Running emulator from SDK built on android source

7. Siap Dikirim : Buku "membuat aplikasi untuk Android"