diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-04-17 17:20:27 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-04-18 13:42:46 -0700 |
commit | f2a5226c1e981ebb0c34aaf39524c382f996196a (patch) | |
tree | c8500a2dd5a195bad64fca35045040ce77d51742 /res/xml/security_settings_encrypted.xml | |
parent | 5035ec6944d907864977c19f356a11d39c41e0c5 (diff) | |
download | packages_apps_Settings-f2a5226c1e981ebb0c34aaf39524c382f996196a.zip packages_apps_Settings-f2a5226c1e981ebb0c34aaf39524c382f996196a.tar.gz packages_apps_Settings-f2a5226c1e981ebb0c34aaf39524c382f996196a.tar.bz2 |
Improve Preference highlighting
- use PreferenceFragment.onBindPreferences() to launch highlighting
- improve SettingsPreferenceFragment code for highlighting: now we can
find the View to highlight thru its Tag if there is no ListAdapter available
- add HighlightingFragment for highlighting a View from its tag/key. This
is dealing with cases when the content is custom and not relying on
SettingsPreferenceFragment (like DataUsageSummary)
Also:
- improve DataUsageSummary so that onResume() is not recreating the
Tabs all the time
- add missing "android:keys" on some Security Settings preference files
Change-Id: Ib1dd8238fe2fb57c151d584c0810a0e0a5ad97c4
Diffstat (limited to 'res/xml/security_settings_encrypted.xml')
-rw-r--r-- | res/xml/security_settings_encrypted.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/xml/security_settings_encrypted.xml b/res/xml/security_settings_encrypted.xml index e82dc56..37452f6 100644 --- a/res/xml/security_settings_encrypted.xml +++ b/res/xml/security_settings_encrypted.xml @@ -18,13 +18,13 @@ <PreferenceCategory android:key="security_category" - android:title="@string/crypt_keeper_settings_title" - > + android:title="@string/crypt_keeper_settings_title"> + <Preference style="?android:preferenceInformationStyle" + android:key="crypt_keeper_encrypt_title" android:title="@string/crypt_keeper_encrypt_title" - android:summary="@string/crypt_keeper_encrypted_summary" - /> + android:summary="@string/crypt_keeper_encrypted_summary"/> </PreferenceCategory> |