<?xml version="1.0" encoding="utf-8"?>
|
<!--
|
/**
|
* Copyright (C) 2015-present, osfans
|
* waxaca@163.com https://github.com/osfans
|
*
|
* This program 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.
|
*
|
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
|
*/
|
-->
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
android:title="@string/ime_name">
|
|
<SwitchPreference android:key="pref_ui" android:order="1" android:title="@string/pref_ui" android:persistent="true" />
|
<Preference android:key="pref_enable" android:order="2" android:title="@string/pref_enable" android:summary="@string/pref_enable_summary"/>
|
<Preference android:key="pref_select" android:order="3" android:title="@string/pref_select" android:summary="@string/pref_select_summary"/>
|
|
<PreferenceScreen android:key="pref_keyboard" android:order="4" android:title="@string/pref_keyboard">
|
<Preference android:key="pref_themes" android:title="@string/pref_themes" android:summary="@string/pref_themes_summary"/>
|
<Preference android:key="pref_colors" android:title="@string/pref_colors" android:summary="@string/pref_colors_summary"/>
|
<ListPreference android:key="inline_preedit" android:title="@string/inline_preedit" android:entries="@array/inline_entries" android:entryValues="@array/inline_values" android:defaultValue="preview"/>
|
<SwitchPreference android:key="soft_cursor" android:title="@string/soft_cursor" android:defaultValue="true"/>
|
<SwitchPreference android:key="show_window" android:title="@string/show_window" android:defaultValue="true"/>
|
<SwitchPreference android:key="show_preview" android:title="@string/show_preview" android:defaultValue="false"/>
|
<SwitchPreference android:key="key_sound" android:title="@string/key_sound"/>
|
<com.osfans.trime.SeekBarPreference
|
android:widgetLayout="@layout/preference_widget_seekbar"
|
android:key="key_sound_volume"
|
android:title="@string/key_sound_volume"
|
android:max="100"
|
android:defaultValue="100" />
|
<SwitchPreference android:key="key_vibrate" android:title="@string/key_vibrate"/>
|
<com.osfans.trime.SeekBarPreference
|
android:widgetLayout="@layout/preference_widget_seekbar"
|
android:key="key_vibrate_duration"
|
android:title="@string/key_vibrate_duration"
|
android:max="100"
|
android:defaultValue="10" />
|
<SwitchPreference android:key="speak_key" android:title="@string/speak_key"/>
|
<SwitchPreference android:key="speak_commit" android:title="@string/speak_commit"/>
|
<com.osfans.trime.SeekBarPreference
|
android:widgetLayout="@layout/preference_widget_seekbar"
|
android:key="longpress_timeout"
|
android:title="@string/longpress_timeout"
|
android:max="60"
|
android:defaultValue="20" />
|
<com.osfans.trime.SeekBarPreference
|
android:widgetLayout="@layout/preference_widget_seekbar"
|
android:key="repeat_interval"
|
android:title="@string/repeat_interval"
|
android:max="9"
|
android:defaultValue="4" />
|
<SwitchPreference android:key="show_switches" android:title="@string/show_switches" android:defaultValue="true" />
|
</PreferenceScreen>
|
|
<PreferenceScreen android:key="pref_input" android:order="8" android:title="@string/pref_input">
|
<EditTextPreference android:key="shared_data_dir" android:title="@string/shared_data_dir" android:defaultValue="@string/default_shared_data_dir" />
|
<EditTextPreference android:key="user_data_dir" android:title="@string/user_data_dir" android:defaultValue="@string/default_user_data_dir"/>
|
<Preference android:key="pref_schemas" android:title="@string/pref_schemas" android:summary="@string/pref_schemas_summary"/>
|
<Preference android:key="pref_sync" android:title="@string/pref_sync" android:summary="@string/pref_sync_summary"/>
|
<Preference android:key="pref_reset" android:title="@string/pref_reset" android:summary="@string/pref_reset_summary"/>
|
</PreferenceScreen>
|
|
<Preference android:key="pref_deploy" android:order="16"
|
android:title="@string/pref_deploy" android:summary="@string/pref_deploy_summary"/>
|
|
<PreferenceScreen android:key="pref_other" android:order="17" android:title="@string/pref_other">
|
<SwitchPreference android:key="pref_notification_icon" android:title="@string/pref_notification_icon" />
|
<SwitchPreference android:key="pref_destroy_on_quit" android:title="@string/pref_destroy_on_quit" />
|
</PreferenceScreen>
|
|
<PreferenceScreen android:key="pref_help" android:order="32" android:title="@string/pref_help">
|
<Preference android:key="pref_wiki" android:title="@string/pref_wiki">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/osfans/trime/wiki/UserGuide" />
|
</Preference>
|
<Preference android:key="pref_issues" android:title="@string/pref_issues">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/osfans/trime/issues" />
|
</Preference>
|
<Preference android:key="pref_market" android:title="@string/pref_market">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://play.google.com/store/apps/details?id=com.osfans.trime" />
|
</Preference>
|
<Preference android:key="pref_coolmarket" android:title="@string/pref_coolmarket">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="http://www.coolapk.com/apk/com.osfans.trime" />
|
</Preference>
|
<Preference android:key="pref_trime_qq" android:title="@string/pref_trime_qq"
|
android:summary="@string/pref_trime_qq_summary">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3Deynn0JQFzeJMgNewySPcEckXVZlJVkan" />
|
</Preference>
|
<Preference android:key="pref_trime_qq2" android:title="@string/pref_trime_qq2"
|
android:summary="@string/pref_trime_qq2_summary">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3D46XegYX4TQW366gVRKAUhTgtFYmYw7G3" />
|
</Preference>
|
<Preference android:key="pref_rime_qq" android:title="@string/pref_rime_qq"
|
android:summary="@string/pref_rime_qq_summary">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="mqqopensdkapi://bizAgent/qm/qr?url=http%3A%2F%2Fqm.qq.com%2Fcgi-bin%2Fqm%2Fqr%3Ffrom%3Dapp%26p%3Dandroid%26k%3Dm505aYSeLZjOwWeMNAViWylZZDYqMrxV" />
|
</Preference>
|
</PreferenceScreen>
|
|
<PreferenceScreen android:key="pref_about" android:order="64" android:title="@string/pref_about">
|
<Preference android:key="pref_changelog" android:title="@string/pref_changelog">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/osfans/trime" />
|
</Preference>
|
<Preference android:key="pref_librime_ver" android:title="@string/pref_librime_ver">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/rime/librime" />
|
</Preference>
|
<Preference android:key="pref_opencc_ver" android:title="@string/pref_opencc_ver">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/BYVoid/OpenCC" />
|
</Preference>
|
<Preference android:key="pref_licensing" android:title="@string/pref_licensing" android:summary="@string/pref_licensing_summary"/>
|
<Preference android:key="pref_pravcy" android:title="@string/pref_privacy">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/osfans/trime/blob/develop/PRIVACY.md" />
|
</Preference>
|
<Preference android:key="pref_pime" android:title="@string/pref_pime">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/osfans/PIME/releases" />
|
</Preference>
|
<Preference android:key="pref_donate" android:title="@string/pref_donate" android:summary="@string/pref_donate_summary">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://qr.alipay.com/tsx03439zwna78hloqtm6bc" />
|
</Preference>
|
<Preference android:key="pref_credits" android:title="@string/pref_credits">
|
<intent android:action="android.intent.action.VIEW"
|
android:data="https://github.com/osfans/trime/releases" />
|
</Preference>
|
</PreferenceScreen>
|
|
</PreferenceScreen>
|