From 015666b657e7fb097f7c786a87f980a6f571ccdc Mon Sep 17 00:00:00 2001 From: Koji Arai Date: Sat, 28 Aug 2010 14:00:34 +0000 Subject: [PATCH] Fixed issue 2174 When selecting one of the five vibrate patterns or the number of repetitions, we should demonstrate to the user what the vibrate pattern feels like. (Thanks to achen.code) use the ListPreference instead of the EditTextPreference to set vibrate times. --- res/values/arrays.xml | 12 +++ res/xml/account_settings_preferences.xml | 7 +- .../k9/activity/setup/AccountSettings.java | 23 +++-- .../k9/controller/MessagingController.java | 89 +++++++++++-------- 4 files changed, 83 insertions(+), 48 deletions(-) diff --git a/res/values/arrays.xml b/res/values/arrays.xml index f30c9b947..3854ee651 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -603,6 +603,18 @@ 5 + + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + + @string/account_settings_crypto_app_none APG diff --git a/res/xml/account_settings_preferences.xml b/res/xml/account_settings_preferences.xml index e3e6d87c0..8a05a1238 100644 --- a/res/xml/account_settings_preferences.xml +++ b/res/xml/account_settings_preferences.xml @@ -266,13 +266,12 @@ android:entryValues="@array/account_settings_vibrate_pattern_values" android:dialogTitle="@string/account_settings_vibrate_pattern_label" /> -