1
0
Fork 0

Add explanitory summary to WPM settings

This commit is contained in:
Eoin Mcloughlin 2020-05-18 20:04:31 +01:00
parent 751c659862
commit 77b8463ed9
2 changed files with 6 additions and 1 deletions

View file

@ -14,7 +14,10 @@
<string name="start_training_button_label">Touch to Start</string> <string name="start_training_button_label">Touch to Start</string>
<string name="setting_tone_frequency_label">Tone Frequency</string> <string name="setting_tone_frequency_label">Tone Frequency</string>
<string name="setting_wpm_label">Words per Minute</string> <string name="setting_wpm_label">Words per Minute</string>
<string name="setting_wpm_summary">Controls the speed each character is sent</string>
<string name="setting_effective_wpm_label">Effective Words per Minute</string> <string name="setting_effective_wpm_label">Effective Words per Minute</string>
<string name="setting_effective_wpm_summary">Allows extra spacing between characters</string>
<string name="setting_tone_key">sender_tone</string> <string name="setting_tone_key">sender_tone</string>
<string name="setting_wpm_key">sender_wpm</string> <string name="setting_wpm_key">sender_wpm</string>
@ -26,7 +29,7 @@
<string name="training_results_summary">Score: %d%%\nMistakes: %d</string> <string name="training_results_summary">Score: %d%%\nMistakes: %d</string>
<string name="training_results_error">Error: No input?</string> <string name="training_results_error">Error: No input?</string>
<string name="settings_sender_heading">Sender</string> <string name="settings_sender_heading">Sender</string>
<string name="settings_koch_heading">Koch Lessons</string> <string name="settings_koch_heading">@string/training_button_label</string>
<string name="setting_koch_lesson_length_label">Minutes per session</string> <string name="setting_koch_lesson_length_label">Minutes per session</string>
<string name="setting_koch_lesson_vary_label">Variable group length</string> <string name="setting_koch_lesson_vary_label">Variable group length</string>
<string name="setting_koch_lesson_vary_off">Always groups of 5</string> <string name="setting_koch_lesson_vary_off">Always groups of 5</string>

View file

@ -23,6 +23,7 @@
<SeekBarPreference <SeekBarPreference
android:defaultValue="600" android:defaultValue="600"
android:max="50" android:max="50"
android:summary="@string/setting_wpm_summary"
app:defaultValue="20" app:defaultValue="20"
app:key="@string/setting_wpm_key" app:key="@string/setting_wpm_key"
app:min="5" app:min="5"
@ -36,6 +37,7 @@
app:key="@string/setting_effective_wpm_key" app:key="@string/setting_effective_wpm_key"
app:min="5" app:min="5"
app:showSeekBarValue="true" app:showSeekBarValue="true"
app:summary="@string/setting_effective_wpm_summary"
app:title="@string/setting_effective_wpm_label" /> app:title="@string/setting_effective_wpm_label" />
</PreferenceCategory> </PreferenceCategory>