зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
79255fd04c
Коммит
f37aa51f87
|
@ -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>
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<!-- Tablet only: The contents under the "Customize" header for tablets,
|
<!-- Tablet only: The contents under the "Customize" header for tablets,
|
||||||
See xml-v11/preferences.xml for single-pane v11+ phone layout.
|
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"
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:gecko="http://schemas.android.com/apk/res-auto"
|
xmlns:gecko="http://schemas.android.com/apk/res-auto"
|
||||||
|
|
|
@ -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>
|
|
@ -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" />
|
||||||
|
|
Загрузка…
Ссылка в новой задаче