94 lines
3.5 KiB
XML
94 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2014 Hippo Seven
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/theme_display_settings_title">
|
|
|
|
<CheckBoxPreference
|
|
android:key="random_theme_color"
|
|
android:title="@string/random_theme_color_title"
|
|
android:summaryOn="@string/random_theme_color_summary_on"
|
|
android:summaryOff="@string/random_theme_color_summary_off"
|
|
android:defaultValue="true" />
|
|
|
|
<com.hippo.ehviewer.preference.ColorPreference
|
|
android:key="theme_color"
|
|
android:title="@string/theme_color_title" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/screen_display_settings_title">
|
|
|
|
<com.hippo.ehviewer.preference.ListPreference
|
|
android:key="screen_orientation"
|
|
android:title="@string/screen_orientation_title"
|
|
android:entries="@array/screen_orientation_entries"
|
|
android:entryValues="@array/screen_orientation_entry_values"
|
|
android:defaultValue="0"
|
|
android:summary="%s" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/list_display_settings_title">
|
|
|
|
<com.hippo.ehviewer.preference.ListPreference
|
|
android:key="list_mode"
|
|
android:title="@string/list_mode_title"
|
|
android:entries="@array/list_mode_entries"
|
|
android:entryValues="@array/list_mode_entry_values"
|
|
android:defaultValue="0"
|
|
android:summary="%s" />
|
|
|
|
<com.hippo.ehviewer.preference.NumberOfColumnsPreference
|
|
xmlns:auto="http://schemas.android.com/apk/res-auto"
|
|
android:key="list_thumb_columns"
|
|
android:title="@string/list_thumb_columns"
|
|
auto:keyPortrait="list_thumb_columns_portrait"
|
|
auto:keyLandscape="list_thumb_columns_landscape"
|
|
auto:defValuePortrait="3"
|
|
auto:defValueLandscape="5" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/preview_display_settings_title">
|
|
|
|
<com.hippo.ehviewer.preference.NumberOfColumnsPreference
|
|
xmlns:auto="http://schemas.android.com/apk/res-auto"
|
|
android:key="preview_columns"
|
|
android:title="@string/preview_columns"
|
|
auto:keyPortrait="preview_columns_portrait"
|
|
auto:keyLandscape="preview_columns_landscape"
|
|
auto:defValuePortrait="3"
|
|
auto:defValueLandscape="5" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/popular_display_settings_title">
|
|
|
|
<CheckBoxPreference
|
|
android:key="show_popular_update_time"
|
|
android:title="@string/show_popular_update_time_title"
|
|
android:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |