Android Multi-Language support

Recently I've been adding the ability to code an app so it can be understood in different languages.. Let's say for instance that we want to do a Hello World! app and be able to say hello in different languages. First, you need to decide what languages you need to support (these may vary depending on the devices). Then you create "values" folders for each of those languages within the res folder in your project. To get an idea for what the folder suffix should be, check the Custom Locale app on your device.. for English, there are several options to choose from, and you can support each one with a different folder naming convention - en-GB for Great Britain English for instance, or en-US for United States English.  Be…
Read More

Easy Android XML changes for many controls

Something that I found recently is the option to change any property of several controls in XML for an Android app (at the same time) using Eclipse. To do this, simply command click (or control click for windows users) the various objects (fields, widgets, layouts, images, etc) you would like to edit from the Graphical Layout mode.  Then go to the context menu by control clicking (or right clicking) - you may see Layout Width and Layout Height, but under Other Properties->All By Name you get a list of all the possible attributes to be able to edit them at once.  (shown in the image below) This is a neat feature that helps to speed things up for developing apps with multiple widgets and controls.  Say for instance that you…
Read More