On Thu, Jan 8, 2009 at 4:26 AM, Mike Hearn <[email protected]> wrote:

> * The directory names are a bit odd - why do they have an extraneous
> 'r' in them?


The way this works is that each component of the directory name must be
uniquely identifiable.  So to be able to distinguish between the language
and region two-letter abbreviation, we prefix the region with "r".


> Also, why "layout-land" and not "layout-landscape"? I
> guess it's too late to change this now but the rest of the Android/
> Java APIs eschew abbreviations.


These directory names can get long, so it is useful to abbreviate.  Also it
is nice to have both portrait and landscape be the same length when looking
at a long list of directories.

At any rate, this mapping from directory name to Configuration is done in
the aapt tool, so it can change without any changes to the platform.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to