packages/apps/Settings
Revision | 6f28bf6f17599ed0617db7bc68733d285e85348e (tree) |
---|---|
Zeit | 2010-11-26 14:52:10 |
Autor | Kelly2.Blue <Kelly2.Blue@gmai...> |
Commiter | Chih-Wei Huang |
Add new option to allow user to enable/disable soft keyboard
Change-Id: I6de2e42046f2672bdb3d512842597c77a91b2108
@@ -2528,4 +2528,7 @@ found in the list of installed applications.</string> | ||
2528 | 2528 | <string name="sound_category_calls_title">Incoming calls</string> |
2529 | 2529 | <string name="sound_category_notification_title">Notifications</string> |
2530 | 2530 | <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> | |
2531 | 2534 | </resources> |
@@ -35,5 +35,11 @@ | ||
35 | 35 | android:summaryOn="@string/auto_punctuate_summary" |
36 | 36 | android:summaryOff="@string/auto_punctuate_summary" |
37 | 37 | 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"/> | |
38 | 44 | |
39 | 45 | </PreferenceScreen> |
@@ -30,6 +30,7 @@ public class PhysicalKeyboardSettings extends PreferenceActivity { | ||
30 | 30 | "auto_caps", |
31 | 31 | "auto_replace", |
32 | 32 | "auto_punctuate", |
33 | + "softkeyboard", | |
33 | 34 | }; |
34 | 35 | |
35 | 36 | // Note: Order of this array should correspond to the order of the above array |
@@ -37,6 +38,7 @@ public class PhysicalKeyboardSettings extends PreferenceActivity { | ||
37 | 38 | System.TEXT_AUTO_CAPS, |
38 | 39 | System.TEXT_AUTO_REPLACE, |
39 | 40 | System.TEXT_AUTO_PUNCTUATE, |
41 | + System.SOFTKEYBOARD, | |
40 | 42 | }; |
41 | 43 | |
42 | 44 | // Note: Order of this array should correspond to the order of the above array |
@@ -44,6 +46,7 @@ public class PhysicalKeyboardSettings extends PreferenceActivity { | ||
44 | 46 | 1, |
45 | 47 | 1, |
46 | 48 | 1, |
49 | + 1, | |
47 | 50 | }; |
48 | 51 | |
49 | 52 | @Override |