summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/account_sync_settings.xml3
-rw-r--r--res/xml/manage_accounts_settings.xml2
-rw-r--r--res/xml/settings_headers.xml21
3 files changed, 13 insertions, 13 deletions
diff --git a/res/xml/account_sync_settings.xml b/res/xml/account_sync_settings.xml
index ff49c9c..0ec46b7 100644
--- a/res/xml/account_sync_settings.xml
+++ b/res/xml/account_sync_settings.xml
@@ -16,7 +16,4 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
- <PreferenceCategory android:key="dataAndSynchronization"
- android:title="@string/header_data_and_synchronization" />
-
</PreferenceScreen>
diff --git a/res/xml/manage_accounts_settings.xml b/res/xml/manage_accounts_settings.xml
index 0ec46b7..810fa7a 100644
--- a/res/xml/manage_accounts_settings.xml
+++ b/res/xml/manage_accounts_settings.xml
@@ -15,5 +15,5 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
-
+ <PreferenceCategory android:title="@string/account_settings" />
</PreferenceScreen>
diff --git a/res/xml/settings_headers.xml b/res/xml/settings_headers.xml
index d8fb636..2089bac 100644
--- a/res/xml/settings_headers.xml
+++ b/res/xml/settings_headers.xml
@@ -113,15 +113,6 @@
android:title="@string/user_settings_title"
android:id="@+id/user_settings" />
- <!-- Data Sync. The settings activity will ensure this is resolved to an
- activity on the system image, otherwise it will remove this
- preference. -->
- <header
- android:fragment="com.android.settings.accounts.ManageAccountsSettings"
- android:icon="@drawable/ic_settings_sync"
- android:title="@string/sync_settings"
- android:id="@+id/sync_settings" />
-
<!-- Location -->
<header
android:fragment="com.android.settings.LocationSettings"
@@ -150,6 +141,18 @@
android:title="@string/privacy_settings"
android:id="@+id/privacy_settings" />
+ <!-- ACCOUNTS section -->
+ <header
+ android:id="@+id/account_settings"
+ android:title="@string/account_settings" />
+
+ <header
+ android:id="@+id/account_add"
+ android:title="@string/add_account_label"
+ android:icon="@drawable/ic_menu_add">
+ <intent
+ android:action="android.settings.ADD_ACCOUNT_SETTINGS"/>
+ </header>
<!-- SYSTEM -->
<header android:title="@string/header_category_system" />