packages/apps/Settings
Révision | 4b35def05e7b74d6cdd239767fce6df2e2c2a12d (tree) |
---|---|
l'heure | 2009-10-20 03:52:15 |
Auteur | Yi Sun <beyounn@gmai...> |
Commiter | Yi Sun |
Check in code for Kelly2.Blue
Add new option to allow user to enable/disable soft keyboard
Autor:Kelly2.Blue@gmail.com
@@ -2036,4 +2036,7 @@ found in the list of installed applications.</string> | ||
2036 | 2036 | <string name="eth_toggle_summary_off">Turn off Ethernet</string> |
2037 | 2037 | <string name="proxy_setting">Proxy Setting</string> |
2038 | 2038 | <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 | + | |
2039 | 2042 | </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.SOfTKERBOARD, | |
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 |