diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 3101aba..255e125 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -12,6 +12,9 @@ android:title="@string/minimal_hot_temp" android:key="@string/settings_hint_min_hot_temp_key" android:inputType="number" + android:maxLength="2" + android:singleLine="true" + android:numeric="integer" android:defaultValue="30" android:summary="@string/minimal_hot_temp_summary"> @@ -19,6 +22,9 @@ android:title="@string/maximal_cold_temp" android:key="@string/settings_hint_max_cold_temp_key" android:inputType="number" + android:maxLength="2" + android:singleLine="true" + android:numeric="integer" android:defaultValue="10" android:summary="@string/maximal_cold_temp_summary"> @@ -36,7 +42,10 @@