X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2FIsoUtils.java;h=d5c4d436952a0461e5a1baf4983e33c9adc8fb4f;hb=61e555f437bbc9c239b0d6b948558c21f3b2272d;hp=6ca5003ba1f5d07d3a8525015f4add3e13d86cce;hpb=83d9dc7cd871082a82c2dd0dbb7a0ceabd7c83a0;p=Dictionary.git diff --git a/src/com/hughes/android/dictionary/IsoUtils.java b/src/com/hughes/android/dictionary/IsoUtils.java index 6ca5003..d5c4d43 100644 --- a/src/com/hughes/android/dictionary/IsoUtils.java +++ b/src/com/hughes/android/dictionary/IsoUtils.java @@ -245,6 +245,7 @@ public enum IsoUtils { result = textButton; } else { imageButton.setImageResource(languageResources.flagId); + imageButton.setContentDescription(isoCodeToLocalizedLanguageName(imageButton.getContext(), indexInfo.shortName)); imageButton.setScaleType(ImageView.ScaleType.FIT_CENTER); textButton.setVisibility(View.GONE); imageButton.setVisibility(View.VISIBLE);