<?xml version="1.0" encoding="utf-8"?>
<!--
 Copyright (C) 2008-2012  OMRON SOFTWARE Co., Ltd.

 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"
		  android:key="openwnn_pref_ja">

  <PreferenceCategory android:title="@string/preference_key_setting_menu">
    <CheckBoxPreference android:key="key_sound"
			android:title="@string/preference_key_sound_title"
			android:summary="@string/preference_key_sound_summary"/>
    <CheckBoxPreference android:key="key_vibration"
			android:title="@string/preference_key_vibration_title"
			android:summary="@string/preference_key_vibration_summary"
			android:defaultValue="true" />
    <CheckBoxPreference android:key="popup_preview"
			android:title="@string/preference_preview_title"
			android:summary="@string/preference_preview_summary"
			android:defaultValue="true" />
    <CheckBoxPreference android:key="auto_caps"
			android:title="@string/preference_auto_caps_title"
			android:summary="@string/preference_auto_caps_summary"
			android:defaultValue="true" />
    <jp.co.omronsoft.openwnn.JAJP.KeyboardListPreferenceJAJP
                        android:key="keyboard_skin"
			android:title="@string/preference_keyboard_skin_title"
			android:summary="@string/preference_keyboard_skin_summary"
			android:entries="@array/keyboard_skin"
			android:entryValues="@array/keyboard_skin_id"
			android:defaultValue="keyboard_android_default" />
  </PreferenceCategory>
    
  <PreferenceCategory android:title="@string/preference_conversion_menu_ja">
    <CheckBoxPreference android:key="opt_enable_learning_ja"
			android:title="@string/preference_input_learning_title_ja"
			android:summary="@string/preference_input_learning_summary"
			android:defaultValue="true" />
    <CheckBoxPreference android:key="opt_prediction_ja"
			android:title="@string/preference_prediction_title_ja"
			android:summary="@string/preference_prediction_summary"
			android:defaultValue="true" />
  </PreferenceCategory>

  <PreferenceCategory android:title="@string/preference_conversion_menu_en">
    <CheckBoxPreference android:key="opt_enable_learning_en"
			android:title="@string/preference_input_learning_title_en"
			android:summary="@string/preference_input_learning_summary"
			android:defaultValue="true" />
    <CheckBoxPreference android:key="opt_prediction_en"
			android:title="@string/preference_prediction_title_en"
			android:summary="@string/preference_prediction_summary"
			android:defaultValue="false" />
    <CheckBoxPreference android:key="opt_spell_correction_en"
			android:title="@string/preference_correct_spell_title_en"
			android:summary="@string/preference_correct_spell_summary"
			android:defaultValue="true"
			android:dependency="opt_prediction_en" />
  </PreferenceCategory>
    
  <PreferenceCategory android:title="@string/preference_dictionary_menu">
    <PreferenceScreen android:key="user_dictionary_edit_words"
		      android:title="@string/preference_dictionary_menu_ja"
		      android:summary="@string/preference_user_dictionary_edit_words_summary_ja"
		      android:persistent="false">
	<intent android:action="android.intent.action.MAIN"
	    android:targetPackage="jp.co.omronsoft.openwnn"
	    android:targetClass="jp.co.omronsoft.openwnn.JAJP.UserDictionaryToolsListJAJP" />
    </PreferenceScreen>
    
    <PreferenceScreen android:key="user_dictionary_edit_words"
		      android:title="@string/preference_dictionary_menu_en"
		      android:summary="@string/preference_user_dictionary_edit_words_summary_en"
		      android:persistent="false">
	<intent android:action="android.intent.action.MAIN"
	    android:targetPackage="jp.co.omronsoft.openwnn"
	    android:targetClass="jp.co.omronsoft.openwnn.EN.UserDictionaryToolsListEN" />
    </PreferenceScreen>

    <jp.co.omronsoft.openwnn.JAJP.ClearLearnDictionaryDialogPreferenceJAJP
		      android:key="clear_learn_dictionary"
		      android:title="@string/preference_user_dictionary_clear_learning_title"
		      android:summary="@string/preference_user_dictionary_clear_learning_summary"
       android:dialogMessage="@string/dialog_clear_learning_dictionary_message"
		      android:positiveButtonText="@string/dialog_button_ok"
		      android:negativeButtonText="@string/dialog_button_cancel"/>
  
  </PreferenceCategory>
  
  <PreferenceCategory android:title="@string/preference_aboutime_menu">
    <Preference android:key="openwnn_version" 
			style="?android:preferenceInformationStyle"
			android:title="@string/openwnn_japanese"
			android:summary="@string/openwnn_japanese_copyright" />
  </PreferenceCategory>

</PreferenceScreen>