Update navup button content description when it's menu.
am: c10db985f3
Change-Id: I1f954904540791d747540e102ce038866675b08a
This commit is contained in:
@@ -863,4 +863,7 @@
|
||||
<!-- Label for Help and feedback menu item -->
|
||||
<string name="help_feedback_label">Help & feedback</string>
|
||||
|
||||
<!-- Content description for drawer menu button [CHAR_LIMIT=30]-->
|
||||
<string name="content_description_menu_button">Menu</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -226,6 +226,7 @@ public class SettingsDrawerActivity extends Activity {
|
||||
public void showMenuIcon() {
|
||||
mShowingMenu = true;
|
||||
getActionBar().setHomeAsUpIndicator(R.drawable.ic_menu);
|
||||
getActionBar().setHomeActionContentDescription(R.string.content_description_menu_button);
|
||||
getActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user