author | wenbiao.zhang <wenbiao.zhang@amlogic.com> | 2013-02-26 06:14:13 (GMT) |
---|---|---|
committer | wenbiao.zhang <wenbiao.zhang@amlogic.com> | 2013-02-26 06:14:13 (GMT) |
commit | eda9e831fce4e35eb0f966378a3d152a1c5e1d8b (patch) | |
tree | c7e3666fddec1555b684b739c619e835cc745005 | |
parent | e33a1dedb7ed3626752563a3466736e63257b398 (diff) | |
download | RemoteIME-eda9e831fce4e35eb0f966378a3d152a1c5e1d8b.zip RemoteIME-eda9e831fce4e35eb0f966378a3d152a1c5e1d8b.tar.gz RemoteIME-eda9e831fce4e35eb0f966378a3d152a1c5e1d8b.tar.bz2 |
set default input method for Chinese and English
-rwxr-xr-x | res/values-en/bools.xml | 20 | ||||
-rwxr-xr-x | res/xml/method.xml | 11 |
2 files changed, 30 insertions, 1 deletions
diff --git a/res/values-en/bools.xml b/res/values-en/bools.xml new file mode 100755 index 0000000..3bb0599 --- a/dev/null +++ b/res/values-en/bools.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2009 The Android Open Source Project + + 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. +--> +<resources> + <bool name="im_is_default">true</bool> + <!-- The default to true for most of board --> + <bool name="is_enableEnter">true</bool> +</resources> diff --git a/res/xml/method.xml b/res/xml/method.xml index ee5058d..442fe9b 100755 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -18,4 +18,13 @@ <input-method xmlns:android="http://schemas.android.com/apk/res/android" android:settingsActivity="com.amlogic.inputmethod.remote.SettingsActivity" android:isDefault="@bool/im_is_default" -/> +> + <subtype android:label="@string/toggle_en_label" + android:imeSubtypeLocale="en_US" + android:imeSubtypeMode="keyboard" + /> + <subtype android:label="@string/toggle_cn_label" + android:imeSubtypeLocale="zh_CN" + android:imeSubtypeMode="keyboard" + /> +</input-method>
\ No newline at end of file |