From 2df0cf2c5a0142a4274bafee6cd53540ac7a1ce9 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Fri, 18 Jan 2013 16:47:49 +0900 Subject: [PATCH] Add SeekBarDialogPreference This change removes SeekBarDialog class. Change-Id: I437b1e554a5af264b8031ebe05b8250a831c8d3b --- java/res/values/attrs.xml | 5 + java/res/values/config.xml | 1 + java/res/values/strings.xml | 4 +- java/res/xml/prefs.xml | 12 +- .../latin/AudioAndHapticFeedbackManager.java | 2 - .../inputmethod/latin/SeekBarDialog.java | 201 ------------------ .../latin/SeekBarDialogPreference.java | 123 +++++++++++ .../inputmethod/latin/SettingsFragment.java | 188 +++++----------- 8 files changed, 197 insertions(+), 339 deletions(-) delete mode 100644 java/src/com/android/inputmethod/latin/SeekBarDialog.java create mode 100644 java/src/com/android/inputmethod/latin/SeekBarDialogPreference.java diff --git a/java/res/values/attrs.xml b/java/res/values/attrs.xml index 2f1a209fc..5c6d0e847 100644 --- a/java/res/values/attrs.xml +++ b/java/res/values/attrs.xml @@ -434,4 +434,9 @@ + + + + + diff --git a/java/res/values/config.xml b/java/res/values/config.xml index dca370a9a..503e92322 100644 --- a/java/res/values/config.xml +++ b/java/res/values/config.xml @@ -33,6 +33,7 @@ true false true + 250 100 300 100 diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index f9d51ff69..bf0ba4001 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -76,8 +76,8 @@ Default - - %sms + + %sms Suggest Contact names diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index 4ffbf14d5..cc1b52ba6 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -16,6 +16,7 @@ - - + + android:title="@string/prefs_keypress_sound_volume_settings" + latin:maxValue="100" />