• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Révision4b35def05e7b74d6cdd239767fce6df2e2c2a12d (tree)
l'heure2009-10-20 03:52:15
AuteurYi Sun <beyounn@gmai...>
CommiterYi Sun

Message de Log

Check in code for Kelly2.Blue
Add new option to allow user to enable/disable soft keyboard
Autor:Kelly2.Blue@gmail.com

Change Summary

Modification

--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2036,4 +2036,7 @@ found in the list of installed applications.</string>
20362036 <string name="eth_toggle_summary_off">Turn off Ethernet</string>
20372037 <string name="proxy_setting">Proxy Setting</string>
20382038 <string name="proxy_setting_summary">Configure Proxy</string>
2039+<string name="softkeyboard_enable">SoftKeyBoard Enable</string>
2040+<string name="softkeyboard_enable_summary">Enable SoftKeyBoard</string>
2041+
20392042 </resources>
--- a/res/xml/keyboard_settings.xml
+++ b/res/xml/keyboard_settings.xml
@@ -35,5 +35,11 @@
3535 android:summaryOn="@string/auto_punctuate_summary"
3636 android:summaryOff="@string/auto_punctuate_summary"
3737 android:persistent="false"/>
38+ <CheckBoxPreference
39+ android:key="softkeyboard"
40+ android:title="@string/softkeyboard_enable"
41+ android:summaryOn="@string/softkeyboard_enable_summary"
42+ android:summaryOff="@string/softkeyboard_enable_summary"
43+ android:persistent="false"/>
3844
3945 </PreferenceScreen>
--- a/src/com/android/settings/PhysicalKeyboardSettings.java
+++ b/src/com/android/settings/PhysicalKeyboardSettings.java
@@ -30,6 +30,7 @@ public class PhysicalKeyboardSettings extends PreferenceActivity {
3030 "auto_caps",
3131 "auto_replace",
3232 "auto_punctuate",
33+ "softkeyboard",
3334 };
3435
3536 // Note: Order of this array should correspond to the order of the above array
@@ -37,6 +38,7 @@ public class PhysicalKeyboardSettings extends PreferenceActivity {
3738 System.TEXT_AUTO_CAPS,
3839 System.TEXT_AUTO_REPLACE,
3940 System.TEXT_AUTO_PUNCTUATE,
41+ System.SOfTKERBOARD,
4042 };
4143
4244 // Note: Order of this array should correspond to the order of the above array
@@ -44,6 +46,7 @@ public class PhysicalKeyboardSettings extends PreferenceActivity {
4446 1,
4547 1,
4648 1,
49+ 1,
4750 };
4851
4952 @Override