Bug 1150742 - Add note in layout.xml explaining what the @null references are. r=mhaigh
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 06 Aug 2015 17:33:13 -0700
changeset 257670 cf92c63365bc538804f8fd05eb1866574f998202
parent 257669 f70b3993f1047d65e130c82ac222c093989f0da7
child 257671 18518f819dbab607d3d9cb5145622efdba89f481
push id29225
push userkwierso@gmail.com
push dateThu, 13 Aug 2015 23:31:33 +0000
treeherdermozilla-central@4e883591bb5d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmhaigh
bugs1150742
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1150742 - Add note in layout.xml explaining what the @null references are. r=mhaigh We could do this in many more places, but this is a start.
mobile/android/base/resources/values/layout.xml
--- a/mobile/android/base/resources/values/layout.xml
+++ b/mobile/android/base/resources/values/layout.xml
@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - 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/. -->
 
 <resources>
     <item type="layout" name="tabs_layout_item_view">@layout/tabs_item_row</item>
+
+    <!-- These items are v11+ resources but are referenced in code shipped with
+         API 9 builds. Since v11+ resources don't ship on API 9 builds, in order
+         for the resource ID to be found (and thus compilation to succeed), we
+         provide dummy values below. -->
     <item type="layout" name="new_tablet_tab_strip">@null</item>
     <item type="layout" name="new_tablet_tabs_item_cell">@null</item>
     <item type="layout" name="new_tablet_tabs_panel_back_button">@null</item>
 </resources>