From 240297d0ee186b14e795016e9b1bd168c8d8acf8 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 11 May 2011 20:51:07 +0900 Subject: [PATCH] Add advanced settings screen Also add an option for popup dismissal delay so as to inaugurate the new screen. Besides, remove a path for options to escape from LatinIME and replace with a direct read from the settings. Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da --- java/res/values/strings.xml | 12 +++ java/res/xml/prefs.xml | 9 ++ .../keyboard/KeyboardSwitcher.java | 4 +- .../inputmethod/keyboard/KeyboardView.java | 30 +++---- .../keyboard/LatinKeyboardView.java | 9 +- .../keyboard/PopupMiniKeyboardView.java | 13 +-- .../android/inputmethod/latin/LatinIME.java | 8 +- .../android/inputmethod/latin/Settings.java | 82 +++++++++++++++---- 8 files changed, 123 insertions(+), 44 deletions(-) diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index 51fafd4f1..88f07f558 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -46,6 +46,18 @@ Other options + + Advanced settings + + Options for expert users + + + Key popup dismiss delay + + No delay + + Default + Auto-capitalization diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index 24a1d45a5..b0497a51c 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -130,6 +130,15 @@ android:entries="@array/keyboard_layout_modes" android:defaultValue="@string/config_default_keyboard_theme_id" /> + + + +