Skip to content

Commit

Permalink
[Buttons] Explicitly set buttons focusable property.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 351594749
  • Loading branch information
johnsonmh authored and ikim24 committed Jan 14, 2021
1 parent 793d00c commit 397152d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -73,6 +73,7 @@ public View onCreateDemoView(
button.setText(updatedText);
}
button.setEnabled(isChecked);
button.setFocusable(isChecked);
}
});

Expand Down

0 comments on commit 397152d

Please sign in to comment.