• 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

Revision8393e8efeccc004f131796aa96a65d2483d2f0bb (tree)
Time2011-08-05 15:37:50
AuthorKelly2.Blue <Kelly2.Blue@gmai...>
CommiterChih-Wei Huang

Log Message

Add new option to allow user to enable/disable soft keyboard

Change-Id: I6de2e42046f2672bdb3d512842597c77a91b2108

Change Summary

Incremental Difference

--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2671,4 +2671,7 @@ found in the list of installed applications.</string>
26712671 from their cell phone carrier. The use of the string is similar to the string
26722672 "system_update_settings_list_item_title" in this project. [CHAR LIMIT=25] -->
26732673 <string name="additional_system_update_settings_list_item_title">Additional system updates</string>
2674+
2675+ <string name="softkeyboard_enable">SoftKeyBoard Enable</string>
2676+ <string name="softkeyboard_enable_summary">Enable SoftKeyBoard</string>
26742677 </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.SOFTKEYBOARD,
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+ 0,
4750 };
4851
4952 @Override