1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 10:52:16 -05:00
Yaaic/application/res/xml/preferences.xml

153 lines
7.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Yaaic - Yet Another Android IRC Client
Copyright 2009-2011 Sebastian Kaspari
This file is part of Yaaic.
Yaaic is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Yaaic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="@string/settings_connection">
<CheckBoxPreference
android:title="@string/settings_reconnect_title"
android:summary="@string/settings_reconnect_desc"
android:key="@string/key_reconnect"
android:defaultValue="@string/default_reconnect" />
<ListPreference
android:title="@string/settings_reconnect_interval_title"
android:summary="@string/settings_reconnect_interval_desc"
android:dialogTitle="@string/settings_reconnect_interval_dialog_title"
android:dependency="@string/key_reconnect"
android:entries="@array/reconnect_interval_labels"
android:entryValues="@array/reconnect_interval_values"
android:key="@string/key_reconnect_interval"
android:defaultValue="@string/default_reconnect_interval" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/settings_chat">
<ListPreference
android:title="@string/settings_fontsize_title"
android:summary="@string/settings_fontsize_desc"
android:dialogTitle="@string/settings_fontsize_dialog_title"
android:entries="@array/fontsize_labels"
android:entryValues="@array/fontsize_values"
android:key="@string/key_fontsize"
android:defaultValue="@string/default_fontsize" />
<CheckBoxPreference
android:title="@string/settings_icons_title"
android:summary="@string/settings_icons_desc"
android:key="@string/key_show_icons"
android:defaultValue="@string/default_show_icons" />
<CheckBoxPreference
android:title="@string/settings_colors_title"
android:summary="@string/settings_colors_desc"
android:key="@string/key_show_colors"
android:defaultValue="@string/default_show_colors"/>
<CheckBoxPreference
android:title="@string/settings_colors_nick_title"
android:key="@string/key_show_colors_nick"
android:summary="@string/settings_colors_nick_desc"
android:defaultValue="@string/default_show_colors_nick"/>
<CheckBoxPreference
android:title="@string/settings_timestamp_title"
android:summary="@string/settings_timestamp_desc"
android:key="@string/key_show_timestamp"
android:defaultValue="@string/default_show_timestamp" />
<CheckBoxPreference
android:title="@string/settings_24h_title"
android:summary="@string/settings_24h_desc"
android:key="@string/key_24h_format"
android:defaultValue="@string/default_24h_format"
android:dependency="@string/key_show_timestamp" />
<CheckBoxPreference
android:title="@string/settings_joinpartquit_title"
android:summary="@string/settings_joinpartquit_desc"
android:key="@string/key_show_joinpartquit"
android:defaultValue="@string/default_show_joinpartquit" />
<CheckBoxPreference
android:title="@string/settings_noticeserverwindow_title"
android:summary="@string/settings_noticeserverwindow_desc"
android:key="@string/key_notice_server_window"
android:defaultValue="@string/default_notice_server_window" />
<CheckBoxPreference
android:title="@string/settings_mirc_colors_title"
android:summary="@string/settings_mirc_colors_desc"
android:key="@string/key_mirc_colors"
android:defaultValue="@string/default_mirc_colors" />
<CheckBoxPreference
android:title="@string/settings_graphical_smilies_title"
android:summary="@string/settings_graphical_smilies_desc"
android:key="@string/key_graphical_smilies"
android:defaultValue="@string/default_graphical_smilies" />
<CheckBoxPreference
android:title="@string/settings_autocorrect_text_title"
android:summary="@string/settings_autocorrect_text_desc"
android:key="@string/key_autocorrect_text"
android:defaultValue="@string/default_autocorrect_text" />
<CheckBoxPreference
android:title="@string/settings_autocap_sentences_title"
android:summary="@string/settings_autocap_sentences_desc"
android:key="@string/key_autocap_sentences"
android:defaultValue="@string/default_autocap_sentences" />
<CheckBoxPreference
android:title="@string/settings_ime_extract_title"
android:summary="@string/settings_ime_extract_desc"
android:key="@string/key_ime_extract"
android:defaultValue="@string/default_ime_extract" />
<CheckBoxPreference
android:title="@string/settings_fullscreen_conversation_title"
android:summary="@string/settings_fullscreen_conversation_desc"
android:key="@string/key_fullscreen_conversation"
android:defaultValue="@string/default_fullscreen_conversation" />
<EditTextPreference
android:title="@string/settings_history_size_title"
android:summary="@string/settings_history_size_desc"
android:key="@string/key_history_size"
android:defaultValue="@string/default_history_size"
android:inputType="number" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/settings_highlight">
<CheckBoxPreference
android:title="@string/settings_sound_highlight_title"
android:summary="@string/settings_sound_highlight_desc"
android:key="@string/key_sound_highlight"
android:defaultValue="@string/default_sound_highlight" />
<CheckBoxPreference
android:title="@string/settings_vibrate_highlight_title"
android:summary="@string/settings_vibrate_highlight_desc"
android:key="@string/key_vibrate_highlight"
android:defaultValue="@string/default_vibrate_highlight" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/settings_misc">
<CheckBoxPreference
android:title="@string/settings_voice_recognition_title"
android:summary="@string/settings_voice_recognition_desc"
android:key="@string/key_voice_recognition"
android:defaultValue="@string/default_voice_recognition" />
<EditTextPreference
android:title="@string/settings_quitmessage_title"
android:summary="@string/settings_quitmessage_desc"
android:key="@string/key_quitmessage"
android:defaultValue="@string/default_quitmessage"
android:dialogTitle="@string/settings_quitmessage_dialog_title"
android:dialogMessage="@string/settings_quitmessage_dialog_desc" />
</PreferenceCategory>
</PreferenceScreen>