BoD wrote:
> Hi!
> Is it possible to localize layouts (in the same way you can have a
> 'por' and a 'land' layout?
> 
> As you may know some languages are less 'verbose' than others, thus
> sometimes layout adjustments might be needed according to the current
> language.

Sure!

http://developer.android.com/guide/topics/resources/resources-i18n.html#AlternateResources

For English and German, for example, you would need:

res/layout-en-land
res/layout-de-land
res/layout-de (for portrait -- or use layout-de-port)
res/layout (for English portrait)

The language code must precede the orientation code.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~
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