Bug 1044334 - Part 4: provide stub preference headers. r=lucasr

--HG--
rename : mobile/android/base/resources/menu-v11/preferences_search_menu.xml => mobile/android/base/resources/menu/preferences_search_menu.xml
rename : mobile/android/base/resources/xml-v11/preference_headers.xml => mobile/android/base/resources/xml/preference_headers.xml
rename : mobile/android/base/resources/xml-v11/preferences_customize_tablet.xml => mobile/android/base/resources/xml/preferences_customize_tablet.xml
This commit is contained in:
Richard Newman 2014-09-08 21:32:47 -07:00
parent cfc581973f
commit adebf29d97
4 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,9 @@
<?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/. -->
<!-- Stub to preserve IDs. -->
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/restore_defaults" />
</menu>

View File

@ -5,7 +5,7 @@
<!-- Tablet only: The contents under the "Customize" header for tablets,
See xml-v11/preferences.xml for single-pane v11+ phone layout.
Changes to preferences shoudl be mirrored to preferences_customize.xml. -->
Changes to preferences should be mirrored to preferences_customize.xml. -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:gecko="http://schemas.android.com/apk/res-auto"

View File

@ -0,0 +1,13 @@
<?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/. -->
<!-- This file is a stub to allow IDs to be used in code
even for a version-limited build. -->
<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
<header android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment"
android:id="@+id/pref_header_language">
</header>
</preference-headers>

View File

@ -0,0 +1,10 @@
<?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/. -->
<!-- Stub to preserve IDs. -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:enabled="false" />