From 32e1b940b71a96d55bd7b9cedf31fc4aacdbfec1 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Wed, 3 Jun 2015 18:13:24 -0700 Subject: Security and Privacy UI - new panel for site specific settings - hooked up favicon to site settings - new images for security icons - revamped settings panels to match the new ui layouts Change-Id: I1e872ce353e66f78e2b0530901fcbb7de69e28b4 --- res/xml/accessibility_preferences.xml | 6 +- res/xml/bandwidth_preferences.xml | 2 +- res/xml/content_preferences.xml | 67 ++++++++++ res/xml/debug_preferences.xml | 31 +++-- res/xml/download_settings_preferences.xml | 7 +- res/xml/general_preferences.xml | 171 +++++-------------------- res/xml/privacy_and_security_preferences.xml | 184 +++++++++++++++++++++++++++ res/xml/site_specific_preferences.xml | 119 +++++++++++++++++ 8 files changed, 431 insertions(+), 156 deletions(-) create mode 100644 res/xml/content_preferences.xml create mode 100644 res/xml/privacy_and_security_preferences.xml create mode 100644 res/xml/site_specific_preferences.xml (limited to 'res/xml') diff --git a/res/xml/accessibility_preferences.xml b/res/xml/accessibility_preferences.xml index 68bc4840..506a9ed2 100644 --- a/res/xml/accessibility_preferences.xml +++ b/res/xml/accessibility_preferences.xml @@ -17,7 +17,9 @@ - + - - + + + + + + + + + + + + + + diff --git a/res/xml/debug_preferences.xml b/res/xml/debug_preferences.xml index dc6b7230..f23ce121 100644 --- a/res/xml/debug_preferences.xml +++ b/res/xml/debug_preferences.xml @@ -17,58 +17,69 @@ - - - - - - - - - - diff --git a/res/xml/download_settings_preferences.xml b/res/xml/download_settings_preferences.xml index 0cd99a98..91a1859c 100644 --- a/res/xml/download_settings_preferences.xml +++ b/res/xml/download_settings_preferences.xml @@ -31,9 +31,10 @@ xmlns:android="http://schemas.android.com/apk/res/android" > - + diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml index 816503b2..7571a6a1 100644 --- a/res/xml/general_preferences.xml +++ b/res/xml/general_preferences.xml @@ -16,204 +16,94 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:summary="@string/pref_privacy_security_title_summary" + android:layout="@layout/swe_preference" + android:key="privacy_security" /> + android:summary="@string/pref_accessibility_title_summary" + android:title="@string/pref_accessibility_title"/> - - - - - - - - - - - - - - - - + android:summary="@string/pref_content_title_summary" + android:layout="@layout/swe_preference" + android:key="content_settings" /> diff --git a/res/xml/privacy_and_security_preferences.xml b/res/xml/privacy_and_security_preferences.xml new file mode 100644 index 00000000..d5b2f9a1 --- /dev/null +++ b/res/xml/privacy_and_security_preferences.xml @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/xml/site_specific_preferences.xml b/res/xml/site_specific_preferences.xml new file mode 100644 index 00000000..19aac5cd --- /dev/null +++ b/res/xml/site_specific_preferences.xml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3