improve some code
[andGMXsms.git] / res / xml / prefs.xml
blob380907ee8cbd4b02b82d39e222d4b91c14f966a7
1 <?xml version="1.0" encoding="utf-8"?>
2         <!--
3                 Copyright (C) 2010 Felix Bechstein
4         -->
5         <!--
6                 This file is part of WebSMS. This program is free software; you can
7                 redistribute it and/or modify it under the terms of the GNU General
8                 Public License as published by the Free Software Foundation; either
9                 version 3 of the License, or (at your option) any later version.
10         -->
11         <!--
12                 This program is distributed in the hope that it will be useful, but
13                 WITHOUT ANY WARRANTY; without even the implied warranty of
14                 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15                 General Public License for more details. You should have received a
16                 copy of the GNU General Public License along with this program; If
17                 not, see <http://www.gnu.org/licenses/>.
18         -->
19 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
20         <PreferenceCategory android:title="@string/settings_common">
21                 <EditTextPreference android:key="sender"
22                         android:title="@string/sender_" android:dialogTitle="@string/sender_"
23                         android:summary="@string/sender_hint" android:inputType="text" />
24                 <EditTextPreference android:key="defprefix"
25                         android:title="@string/defprefix_" android:dialogTitle="@string/defprefix_"
26                         android:summary="@string/defprefix_hint" android:inputType="text" />
27                 <CheckBoxPreference android:key="softkeyboard"
28                         android:title="@string/softkeyboard_" android:summary="@string/softkeyboard_hint" />
29                 <CheckBoxPreference android:key="change_connector_button"
30                         android:title="@string/change_connector_button" android:summary="@string/change_connector_button_hint" />
31                 <CheckBoxPreference android:key="hide_cancel_button"
32                         android:title="@string/hide_cancel_button" />
33                 <CheckBoxPreference android:key="autoupdate"
34                         android:title="@string/autoupdate_" android:summary="@string/autoupdate_hint" />
35                 <CheckBoxPreference android:key="autoexit"
36                         android:title="@string/autoexit_" android:summary="@string/autoexit_hint" />
38                 <CheckBoxPreference android:key="mobiles_only"
39                         android:title="@string/mobile_only_" android:summary="@string/mobile_only_hint" />
41                 <CheckBoxPreference android:key="fail_vibrate"
42                         android:title="@string/vibrate_on_fail" />
43                 <RingtonePreference android:key="fail_sound"
44                         android:title="@string/sound_on_fail" android:ringtoneType="notification"
45                         android:defaultValue="content://settings/system/notification_sound" />
47         </PreferenceCategory>
48         <PreferenceCategory android:title="@string/settings_connectors"
49                 android:key="settings_connectors">
50                 <CheckBoxPreference android:key="enable_sms"
51                         android:title="@string/enable_sms" />
53                 <!-- other connectors getting added dynamicaly -->
55         </PreferenceCategory>
56         <PreferenceScreen android:title="@string/more_connectors_"
57                 android:summary="@string/more_connectors_hint">
58                 <intent android:action="android.intent.action.VIEW"
59                         android:data="market://search?q=websms+connector" />
60         </PreferenceScreen>
61 </PreferenceScreen>