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
diff --git a/res/xml/debug_preferences.xml b/res/xml/debug_preferences.xml
index dc6b723..f23ce12 100644
--- a/res/xml/debug_preferences.xml
+++ b/res/xml/debug_preferences.xml
@@ -17,58 +17,69 @@
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" >
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_hardware_accel"
android:defaultValue="true"
android:title="@string/pref_development_hardware_accel" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_hardware_accel_skia"
android:defaultValue="false"
android:title="@string/pref_development_hardware_accel_skia"
android:enabled="false" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_visual_indicator"
android:defaultValue="false"
android:title="@string/pref_development_visual_indicator" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_cpu_upload_path"
android:defaultValue="false"
android:title="@string/pref_development_cpu_upload_path" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="small_screen"
android:defaultValue="false"
android:title="@string/pref_development_single_column_rendering" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="wide_viewport"
android:defaultValue="true"
android:title="@string/pref_development_viewport" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="normal_layout"
android:defaultValue="false"
android:title="@string/pref_development_normal_rendering" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_tracing"
android:defaultValue="false"
android:title="@string/pref_development_trace" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_light_touch"
android:defaultValue="false"
android:title="Enable light touch" />
- <CheckBoxPreference
+ <SwitchPreference
+ android:layout="@layout/swe_preference"
android:key="enable_nav_dump"
android:defaultValue="false"
android:title="@string/pref_development_nav_dump" />
<EditTextPreference
+ android:layout="@layout/swe_preference"
android:key="js_engine_flags"
android:title="@string/js_engine_flags"
android:singleLine="true" />