Browse Source

more summaries for advanced settings

Fabio Arnold 9 years ago
parent
commit
c352feeb76
2 changed files with 6 additions and 2 deletions
  1. 2 0
      res/values/strings_preferences.xml
  2. 4 2
      res/xml/settings_preferences.xml

+ 2 - 0
res/values/strings_preferences.xml

@@ -18,6 +18,7 @@
 	<string name="pref_connection_settings">Connection Settings</string>
 	<string name="pref_connection_settings">Connection Settings</string>
 	<string name="pref_max_connections">Max Connections</string>	
 	<string name="pref_max_connections">Max Connections</string>	
 	<integer name="pref_max_connections_default">5</integer>
 	<integer name="pref_max_connections_default">5</integer>
+	<string name="pref_max_connections_summary">Maximum simultaneous connections per protocol</string>
 	<string name="pref_timeout">Socket Timeout</string>
 	<string name="pref_timeout">Socket Timeout</string>
 	<string name="pref_timeout_summary">After this many seconds close socket when no communication occurred</string>
 	<string name="pref_timeout_summary">After this many seconds close socket when no communication occurred</string>
 	<integer name="pref_timeout_default">30</integer>
 	<integer name="pref_timeout_default">30</integer>
@@ -30,6 +31,7 @@
 	<string name="pref_location_time_default">60000</string>
 	<string name="pref_location_time_default">60000</string>
 	<string name="pref_location_retries">Retries</string>
 	<string name="pref_location_retries">Retries</string>
 	<string name="pref_location_retries_default">3</string>
 	<string name="pref_location_retries_default">3</string>
+	<string name="pref_location_retries_summary">Maximum number of retries</string>
 	<string name="pref_auto_synchronize_title">Auto Synchronization</string>
 	<string name="pref_auto_synchronize_title">Auto Synchronization</string>
 	<string name="pref_auto_synchronize_summ">Enable auto synchronization of log data</string>
 	<string name="pref_auto_synchronize_summ">Enable auto synchronization of log data</string>
 
 

+ 4 - 2
res/xml/settings_preferences.xml

@@ -54,7 +54,8 @@
 						android:numeric="decimal"
 						android:numeric="decimal"
 						android:key="pref_max_connections"
 						android:key="pref_max_connections"
 						android:defaultValue="@integer/pref_max_connections_default"
 						android:defaultValue="@integer/pref_max_connections_default"
-						android:title="@string/pref_max_connections" />
+						android:title="@string/pref_max_connections"
+						android:summary="@string/pref_max_connections_summary" />
 
 
 				<EditTextPreference
 				<EditTextPreference
 						android:inputType="number"
 						android:inputType="number"
@@ -90,7 +91,8 @@
                 <EditTextPreference
                 <EditTextPreference
                     android:key="pref_location_retries"
                     android:key="pref_location_retries"
                     android:defaultValue="@string/pref_location_retries_default"
                     android:defaultValue="@string/pref_location_retries_default"
-                    android:title="@string/pref_location_retries" />
+                    android:title="@string/pref_location_retries"
+					android:summary="@string/pref_location_retries_summary" />
 
 
             </PreferenceCategory>
             </PreferenceCategory>
 		</PreferenceScreen>
 		</PreferenceScreen>