Preferences: Option to automatically reconnect on disconnect

This commit is contained in:
Sebastian Kaspari 2010-04-16 00:03:40 +02:00
parent e09b601d0c
commit 22375c65b5
2 changed files with 11 additions and 0 deletions

View File

@ -11,4 +11,7 @@
<string name="key_24h_format">24h_format</string>
<string name="default_24h_format">true</string>
<string name="key_reconnect">reconnect</string>
<string name="default_reconnect">false</string>
</resources>

View File

@ -21,6 +21,14 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="Connection">
<CheckBoxPreference
android:title="Reconnect"
android:summary="Automatically reconnect on disconnect"
android:key="@string/key_reconnect"
android:defaultValue="@string/default_reconnect" />
</PreferenceCategory>
<PreferenceCategory
android:title="Chat">
<CheckBoxPreference