Skip to content

Commit

Permalink
Fix TODOs of UICatalog.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueRiverInteractive committed May 2, 2015
1 parent b40aec6 commit 8986646
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void configureImageButton() {
imageButton.setImage(imageButtonNormalImage, UIControlState.Normal);

// Add an accessibility label to the image.
// imageButton.setAccessibilityLabel("X_Button"); TODO
imageButton.setAccessibilityLabel("X Button");

imageButton.addOnTouchUpInsideListener(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void viewDidLoad() {
imageView.setAnimationDuration(5);
imageView.startAnimating();

// imageView.setAccessibilityElement(true); TODO
// imageView.setAccessibilityLabel("Animated"); TODO
imageView.setAccessibilityElement(true);
imageView.setAccessibilityLabel("Animated");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private void configureCustomSegmentsSegmentedControl() {
int i = 0;
for (Map.Entry<String, String> entry : imageToAccessibilityLabelMappings.entrySet()) {
UIImage image = UIImage.create(entry.getKey());
// image.setAccessibilityLabel(entry.getValue()); TODO
image.setAccessibilityLabel(entry.getValue());

customSegmentsSegmentedControl.setImage(image, i);
i++;
Expand Down

0 comments on commit 8986646

Please sign in to comment.