blob: 311150791ca39eb5fd0b1b6404f17f9165eb3ffe [file] [log] [blame]
Alexandre Savard3bbb4792012-10-05 11:30:01 -04001<?xml version="1.0" encoding="utf-8"?>
Alexandre Lision451f2a82013-11-12 12:55:55 -05002<!--
Alexandre Lisionf3a2c9d2014-01-06 11:12:53 -05003Copyright (C) 2004-2014 Savoir-Faire Linux Inc.
Alexandre Savard3bbb4792012-10-05 11:30:01 -04004
Alexandre Lisionc48c36a2013-11-12 16:26:10 -05005Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Alexandre Savard3bbb4792012-10-05 11:30:01 -04006
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21Additional permission under GNU GPL version 3 section 7:
22
23If you modify this program, or any covered work, by linking or
24combining it with the OpenSSL project's OpenSSL library (or a
25modified version of that library), containing parts covered by the
26terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
27grants you additional permission to convey the resulting work.
28Corresponding Source for a non-source form of such a combination
29shall include the source code for the parts of OpenSSL used as well
30as that of the covered work.
Alexandre Lision451f2a82013-11-12 12:55:55 -050031-->
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050032
Alexandre Lision76592472013-11-12 17:38:52 -050033<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
34 xmlns:app="http://schemas.android.com/apk/res/org.sflphone" >
Alexandre Lision451f2a82013-11-12 12:55:55 -050035
Alexandre Lisiona3650992013-11-13 14:19:35 -050036 <org.sflphone.views.DoubleNumberPickerPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050037 android:id="@+id/account_registration_expire"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050038 android:key="Account.registrationExpire"
Alexandre Lision451f2a82013-11-12 12:55:55 -050039 android:persistent="false"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050040 android:title="@string/account_registration_exp_label"
Alexandre Lisiona3650992013-11-13 14:19:35 -050041 app:defaultValue1="6"
42 app:defaultValue2="0"
43 app:max1="99"
44 app:max2="99"
45 app:min1="1"
46 app:min2="0" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050047
48 <ListPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050049 android:id="@+id/account_local_interface"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050050 android:key="Account.localInterface"
51 android:persistent="false"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050052 android:title="@string/account_local_interface_label" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050053
Alexandre Lisiona3650992013-11-13 14:19:35 -050054 <org.sflphone.views.DoubleNumberPickerPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050055 android:id="@+id/account_local_port"
56 android:key="Account.localPort"
Alexandre Lision451f2a82013-11-12 12:55:55 -050057 android:persistent="false"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050058 android:title="@string/account_local_port_label"
Alexandre Lisiona3650992013-11-13 14:19:35 -050059 app:defaultValue1="50"
60 app:defaultValue2="60"
61 app:max1="99"
62 app:max2="99"
63 app:min1="1"
64 app:min2="0" />
Alexandre Lision451f2a82013-11-12 12:55:55 -050065
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050066 <PreferenceCategory
67 android:id="@+id/account_credentials_category"
68 android:title="@string/account_published_address_label" >
69
Alexandre Lision451f2a82013-11-12 12:55:55 -050070 <CheckBoxPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050071 android:id="@+id/account_stun_enable"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050072 android:key="STUN.enable"
Alexandre Lision451f2a82013-11-12 12:55:55 -050073 android:persistent="false"
Alexandre Lisiona3650992013-11-13 14:19:35 -050074 android:summaryOff="Disabled"
75 android:summaryOn="Enabled"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050076 android:title="@string/account_stun_enable_label" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050077
78 <EditTextPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050079 android:id="@+id/account_stun_server"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050080 android:defaultValue=""
Alexandre Lision76592472013-11-12 17:38:52 -050081 android:enabled="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050082 android:key="STUN.server"
83 android:persistent="false"
84 android:summary=""
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050085 android:title="@string/account_stun_server_label" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050086
87 <CheckBoxPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050088 android:id="@+id/account_published_sameas_local"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050089 android:key="Account.publishedSameAsLocal"
90 android:persistent="false"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050091 android:title="@string/account_published_same_as_local_label" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050092
Alexandre Lisiona3650992013-11-13 14:19:35 -050093 <org.sflphone.views.DoubleNumberPickerPreference
94 android:id="@+id/account_published_port"
Alexandre Lision76592472013-11-12 17:38:52 -050095 android:enabled="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050096 android:key="Account.publishedPort"
97 android:persistent="false"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -050098 android:title="@string/account_published_port_label"
Alexandre Lisiona3650992013-11-13 14:19:35 -050099 app:defaultValue1="50"
100 app:defaultValue2="60"
101 app:max1="99"
102 app:max2="99"
103 app:min1="1"
104 app:min2="0" />
105
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500106 <EditTextPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -0500107 android:id="@+id/account_published_address"
Alexandre Lision76592472013-11-12 17:38:52 -0500108 android:enabled="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500109 android:key="Account.publishedAddress"
110 android:persistent="false"
Alexandre Lisionef1d9c12014-02-06 16:01:09 -0500111 android:title="@string/account_published_address_label" />
Alexandre Lision451f2a82013-11-12 12:55:55 -0500112 </PreferenceCategory>
Alexandre Lision451f2a82013-11-12 12:55:55 -0500113
114</PreferenceScreen>