Pankaj Garg | 32e1b94 | 2015-06-03 18:13:24 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (c) 2015, The Linux Foundation. All rights reserved. |
| 4 | |
| 5 | Redistribution and use in source and binary forms, with or without |
| 6 | modification, are permitted provided that the following conditions are |
| 7 | met: |
| 8 | * Redistributions of source code must retain the above copyright |
| 9 | notice, this list of conditions and the following disclaimer. |
| 10 | * Redistributions in binary form must reproduce the above |
| 11 | copyright notice, this list of conditions and the following |
| 12 | disclaimer in the documentation and/or other materials provided |
| 13 | with the distribution. |
| 14 | * Neither the name of The Linux Foundation nor the names of its |
| 15 | contributors may be used to endorse or promote products derived |
| 16 | from this software without specific prior written permission. |
| 17 | |
| 18 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 19 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 22 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 25 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 26 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 27 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 28 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 | --> |
| 30 | |
| 31 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| 32 | android:key="content_settings"> |
| 33 | <SwitchPreference |
| 34 | android:layout="@layout/swe_preference" |
| 35 | android:defaultValue="false" |
| 36 | android:key="open_in_background" |
| 37 | android:summary="@string/pref_content_open_in_background_summary" |
| 38 | android:title="@string/pref_content_open_in_background" /> |
| 39 | |
| 40 | <SwitchPreference |
| 41 | android:layout="@layout/swe_preference" |
| 42 | android:defaultValue="true" |
| 43 | android:key="enable_javascript" |
| 44 | android:title="@string/pref_content_javascript" /> |
| 45 | |
| 46 | <PreferenceScreen |
| 47 | android:key="download_path_setting_screen" |
| 48 | android:title="@string/pref_download_path_setting_screen_title"/> |
| 49 | |
| 50 | <ListPreference |
| 51 | android:layout="@layout/swe_preference" |
| 52 | android:widgetLayout="@layout/swe_preference_list_widget" |
| 53 | android:defaultValue="@string/pref_default_text_encoding_default" |
| 54 | android:dialogTitle="@string/pref_default_text_encoding_dialogtitle" |
| 55 | android:entries="@array/pref_default_text_encoding_choices" |
| 56 | android:entryValues="@array/pref_default_text_encoding_values" |
| 57 | android:key="default_text_encoding" |
| 58 | android:title="@string/pref_default_text_encoding" /> |
| 59 | |
| 60 | <SwitchPreference |
| 61 | android:layout="@layout/swe_preference" |
| 62 | android:key="load_images" |
| 63 | android:defaultValue="true" |
| 64 | android:title="@string/pref_content_load_images" |
| 65 | android:summary="@string/pref_content_load_images_summary" /> |
| 66 | |
| 67 | </PreferenceScreen> |