Update navup button content description when it's menu.
Bug: 30090247
Change-Id: I2ff9529a3dd5f197f2d142ef2993d5d8e90b5645
(cherry picked from commit df915bbbb9)
This commit is contained in:
@@ -863,4 +863,7 @@
|
|||||||
<!-- Label for Help and feedback menu item -->
|
<!-- Label for Help and feedback menu item -->
|
||||||
<string name="help_feedback_label">Help & feedback</string>
|
<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>
|
</resources>
|
||||||
|
|||||||
@@ -226,6 +226,7 @@ public class SettingsDrawerActivity extends Activity {
|
|||||||
public void showMenuIcon() {
|
public void showMenuIcon() {
|
||||||
mShowingMenu = true;
|
mShowingMenu = true;
|
||||||
getActionBar().setHomeAsUpIndicator(R.drawable.ic_menu);
|
getActionBar().setHomeAsUpIndicator(R.drawable.ic_menu);
|
||||||
|
getActionBar().setHomeActionContentDescription(R.string.content_description_menu_button);
|
||||||
getActionBar().setDisplayHomeAsUpEnabled(true);
|
getActionBar().setDisplayHomeAsUpEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user