]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/IsoUtils.java
Accessibility fixes.
[Dictionary.git] / src / com / hughes / android / dictionary / IsoUtils.java
index d5c4d436952a0461e5a1baf4983e33c9adc8fb4f..cd92832073d24ff972be3f593f553f261ca15615 100644 (file)
@@ -226,6 +226,7 @@ public enum IsoUtils {
         } else {
             ImageButton button = new ImageButton(context);
             button.setImageResource(languageResources.flagId);
+            button.setContentDescription(isoCodeToLocalizedLanguageName(button.getContext(), indexInfo.shortName));
             button.setScaleType(ImageView.ScaleType.FIT_CENTER);
             result = button;
         }