• 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

Revision6f28bf6f17599ed0617db7bc68733d285e85348e (tree)
Zeit2010-11-26 14:52:10
AutorKelly2.Blue <Kelly2.Blue@gmai...>
CommiterChih-Wei Huang

Log Message

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

Change-Id: I6de2e42046f2672bdb3d512842597c77a91b2108

Ändern Zusammenfassung

Diff

--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2528,4 +2528,7 @@ found in the list of installed applications.</string>
25282528 <string name="sound_category_calls_title">Incoming calls</string>
25292529 <string name="sound_category_notification_title">Notifications</string>
25302530 <string name="sound_category_feedback_title">Feedback</string>
2531+
2532+ <string name="softkeyboard_enable">SoftKeyBoard Enable</string>
2533+ <string name="softkeyboard_enable_summary">Enable SoftKeyBoard</string>
25312534 </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+ 1,
4750 };
4851
4952 @Override