http://stackoverflow.com/questions/12974322/does-anyone-know-a-library-containing-all-localized-country-names-in-java


Set size for TextView

http://www.java2s.com/Code/Android/UI/SetsizeforTextView.htm



http://www.iso.org/iso/home/standards/country_codes.htm


You can use Locale.getISOCountries(). For example the following code prints the German names of all countries defined in ISO 3166.

Locale locale = Locale.GERMAN;      
for (String country : Locale.getISOCountries())
{
    System.out.println(new Locale("", country).getDisplayCountry(locale));
}


for (Locale locale : Locale.getAvailableLocales())
    {
         System.out.println(locale.getCountry() + "  " + locale.getDisplayCountry());
    }

AE  United Arab Emirates
AL  Albania
AR  Argentina
AT  Austria
AU  Australia
BA  Bosnia and Herzegovina
BE  Belgium
BG  Bulgaria
BH  Bahrain
BO  Bolivia
BR  Brazil
BY  Belarus
CA  Canada
CH  Switzerland
CL  Chile
CN  China
CO  Colombia
CR  Costa Rica
CS  Serbia and Montenegro
CY  Cyprus
CZ  Czech Republic
DE  Germany
DK  Denmark
DO  Dominican Republic
DZ  Algeria
EC  Ecuador
EE  Estonia
EG  Egypt
ES  Spain
FI  Finland
FR  France
GB  United Kingdom
GR  Greece
GT  Guatemala
HK  Hong Kong
HN  Honduras
HR  Croatia
HU  Hungary
ID  Indonesia
IE  Ireland
IL  Israel
IN  India
IQ  Iraq
IS  Iceland
IT  Italy
JO  Jordan
JP  Japan
KR  South Korea
KW  Kuwait
LB  Lebanon
LT  Lithuania
LU  Luxembourg
LV  Latvia
LY  Libya
MA  Morocco
ME  Montenegro
MK  Macedonia
MT  Malta
MX  Mexico
MY  Malaysia
NI  Nicaragua
NL  Netherlands
NO  Norway
NZ  New Zealand
OM  Oman
PA  Panama
PE  Peru
PH  Philippines
PL  Poland
PR  Puerto Rico
PT  Portugal
PY  Paraguay
QA  Qatar
RO  Romania
RS  Serbia
RU  Russia
SA  Saudi Arabia
SD  Sudan
SE  Sweden
SG  Singapore
SI  Slovenia
SK  Slovakia
SV  El Salvador
SY  Syria
TH  Thailand
TN  Tunisia
TR  Turkey
TW  Taiwan
UA  Ukraine
US  United States
UY  Uruguay
VE  Venezuela
VN  Vietnam
YE  Yemen
ZA  South Africa