Bug 1175388 - Disable AlwaysShowAction on a file level. r=margaret

We have a custom menu system here and interpret these attributes ourselves so
this warning isn't relevant to us.

--HG--
extra : commitid : 9iDtQH2P86
extra : rebase_source : 1f2e5c37e57057cd92971a3ff637837032f78516
This commit is contained in:
Michael Comella 2015-06-16 20:25:42 -07:00
parent 03247b4e71
commit 2c907a42d3
3 changed files with 15 additions and 3 deletions

View File

@ -3,7 +3,11 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<!-- We disable AlwaysShowAction because we interpret the menu
attributes ourselves and thus the warning isn't relevant to us. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="AlwaysShowAction">
<item android:id="@+id/reload"
android:icon="@drawable/new_tablet_ic_menu_reload"

View File

@ -3,7 +3,11 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<!-- We disable AlwaysShowAction because we interpret the menu
attributes ourselves and thus the warning isn't relevant to us. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="AlwaysShowAction">
<item android:id="@+id/back"
android:icon="@drawable/ic_menu_back"

View File

@ -3,7 +3,11 @@
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<!-- We disable AlwaysShowAction because we interpret the menu
attributes ourselves and thus the warning isn't relevant to us. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="AlwaysShowAction">
<item android:id="@+id/reload"
android:icon="@drawable/new_tablet_ic_menu_reload"