mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
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:
parent
03247b4e71
commit
2c907a42d3
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user