Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  Copyright (C) 2008-2012  OMRON SOFTWARE Co., Ltd.
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9       http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     18 		  android:key="openwnn_pref_ja">
     19 
     20   <PreferenceCategory android:title="@string/preference_key_setting_menu">
     21     <CheckBoxPreference android:key="key_sound"
     22 			android:title="@string/preference_key_sound_title"
     23 			android:summary="@string/preference_key_sound_summary"/>
     24     <CheckBoxPreference android:key="key_vibration"
     25 			android:title="@string/preference_key_vibration_title"
     26 			android:summary="@string/preference_key_vibration_summary"
     27 			android:defaultValue="true" />
     28     <CheckBoxPreference android:key="popup_preview"
     29 			android:title="@string/preference_preview_title"
     30 			android:summary="@string/preference_preview_summary"
     31 			android:defaultValue="true" />
     32     <CheckBoxPreference android:key="auto_caps"
     33 			android:title="@string/preference_auto_caps_title"
     34 			android:summary="@string/preference_auto_caps_summary"
     35 			android:defaultValue="true" />
     36     <jp.co.omronsoft.openwnn.JAJP.KeyboardListPreferenceJAJP
     37                         android:key="keyboard_skin"
     38 			android:title="@string/preference_keyboard_skin_title"
     39 			android:summary="@string/preference_keyboard_skin_summary"
     40 			android:entries="@array/keyboard_skin"
     41 			android:entryValues="@array/keyboard_skin_id"
     42 			android:defaultValue="keyboard_android_default" />
     43   </PreferenceCategory>
     44     
     45   <PreferenceCategory android:title="@string/preference_conversion_menu_ja">
     46     <CheckBoxPreference android:key="opt_enable_learning_ja"
     47 			android:title="@string/preference_input_learning_title_ja"
     48 			android:summary="@string/preference_input_learning_summary"
     49 			android:defaultValue="true" />
     50     <CheckBoxPreference android:key="opt_prediction_ja"
     51 			android:title="@string/preference_prediction_title_ja"
     52 			android:summary="@string/preference_prediction_summary"
     53 			android:defaultValue="true" />
     54   </PreferenceCategory>
     55 
     56   <PreferenceCategory android:title="@string/preference_conversion_menu_en">
     57     <CheckBoxPreference android:key="opt_enable_learning_en"
     58 			android:title="@string/preference_input_learning_title_en"
     59 			android:summary="@string/preference_input_learning_summary"
     60 			android:defaultValue="true" />
     61     <CheckBoxPreference android:key="opt_prediction_en"
     62 			android:title="@string/preference_prediction_title_en"
     63 			android:summary="@string/preference_prediction_summary"
     64 			android:defaultValue="false" />
     65     <CheckBoxPreference android:key="opt_spell_correction_en"
     66 			android:title="@string/preference_correct_spell_title_en"
     67 			android:summary="@string/preference_correct_spell_summary"
     68 			android:defaultValue="true"
     69 			android:dependency="opt_prediction_en" />
     70   </PreferenceCategory>
     71     
     72   <PreferenceCategory android:title="@string/preference_dictionary_menu">
     73     <PreferenceScreen android:key="user_dictionary_edit_words"
     74 		      android:title="@string/preference_dictionary_menu_ja"
     75 		      android:summary="@string/preference_user_dictionary_edit_words_summary_ja"
     76 		      android:persistent="false">
     77 	<intent android:action="android.intent.action.MAIN"
     78 	    android:targetPackage="jp.co.omronsoft.openwnn"
     79 	    android:targetClass="jp.co.omronsoft.openwnn.JAJP.UserDictionaryToolsListJAJP" />
     80     </PreferenceScreen>
     81     
     82     <PreferenceScreen android:key="user_dictionary_edit_words"
     83 		      android:title="@string/preference_dictionary_menu_en"
     84 		      android:summary="@string/preference_user_dictionary_edit_words_summary_en"
     85 		      android:persistent="false">
     86 	<intent android:action="android.intent.action.MAIN"
     87 	    android:targetPackage="jp.co.omronsoft.openwnn"
     88 	    android:targetClass="jp.co.omronsoft.openwnn.EN.UserDictionaryToolsListEN" />
     89     </PreferenceScreen>
     90 
     91     <jp.co.omronsoft.openwnn.JAJP.ClearLearnDictionaryDialogPreferenceJAJP
     92 		      android:key="clear_learn_dictionary"
     93 		      android:title="@string/preference_user_dictionary_clear_learning_title"
     94 		      android:summary="@string/preference_user_dictionary_clear_learning_summary"
     95        android:dialogMessage="@string/dialog_clear_learning_dictionary_message"
     96 		      android:positiveButtonText="@string/dialog_button_ok"
     97 		      android:negativeButtonText="@string/dialog_button_cancel"/>
     98   
     99   </PreferenceCategory>
    100   
    101   <PreferenceCategory android:title="@string/preference_aboutime_menu">
    102     <Preference android:key="openwnn_version" 
    103 			style="?android:preferenceInformationStyle"
    104 			android:title="@string/openwnn_japanese"
    105 			android:summary="@string/openwnn_japanese_copyright" />
    106   </PreferenceCategory>
    107 
    108 </PreferenceScreen>
    109 
    110