blob: d775a6263c535cf956a91b73751dea421493687f [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 Lisionafd40e42013-10-15 13:48:37 -04003Copyright (C) 2004-2013 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
36 <PreferenceCategory
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050037 android:id="@+id/account_advanced_category"
38 android:title="Advanced settings" >
Alexandre Lisiona3650992013-11-13 14:19:35 -050039 <org.sflphone.views.DoubleNumberPickerPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050040 android:id="@+id/account_registration_expire"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050041 android:key="Account.registrationExpire"
Alexandre Lision451f2a82013-11-12 12:55:55 -050042 android:persistent="false"
Alexandre Lision76592472013-11-12 17:38:52 -050043 android:title="Registration Expire"
Alexandre Lisiona3650992013-11-13 14:19:35 -050044 app:defaultValue1="6"
45 app:defaultValue2="0"
46 app:max1="99"
47 app:max2="99"
48 app:min1="1"
49 app:min2="0" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050050
51 <ListPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050052 android:id="@+id/account_local_interface"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050053 android:key="Account.localInterface"
54 android:persistent="false"
55 android:title="Local Interface" />
56
Alexandre Lisiona3650992013-11-13 14:19:35 -050057 <org.sflphone.views.DoubleNumberPickerPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050058 android:id="@+id/account_local_port"
59 android:key="Account.localPort"
Alexandre Lision451f2a82013-11-12 12:55:55 -050060 android:persistent="false"
Alexandre Lisiona3650992013-11-13 14:19:35 -050061 android:title="Local Port"
62 app:defaultValue1="50"
63 app:defaultValue2="60"
64 app:max1="99"
65 app:max2="99"
66 app:min1="1"
67 app:min2="0" />
Alexandre Lision451f2a82013-11-12 12:55:55 -050068
69 <CheckBoxPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050070 android:id="@+id/account_stun_enable"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050071 android:key="STUN.enable"
Alexandre Lision451f2a82013-11-12 12:55:55 -050072 android:persistent="false"
Alexandre Lisiona3650992013-11-13 14:19:35 -050073 android:summaryOff="Disabled"
74 android:summaryOn="Enabled"
75 android:title="Use Stun" />
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050076
77 <EditTextPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050078 android:id="@+id/account_stun_server"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050079 android:defaultValue=""
Alexandre Lision76592472013-11-12 17:38:52 -050080 android:enabled="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050081 android:key="STUN.server"
82 android:persistent="false"
83 android:summary=""
84 android:title="Stun Server" />
85
86 <CheckBoxPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -050087 android:id="@+id/account_published_sameas_local"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050088 android:key="Account.publishedSameAsLocal"
89 android:persistent="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050090 android:title="Published same as local" />
91
Alexandre Lisiona3650992013-11-13 14:19:35 -050092 <org.sflphone.views.DoubleNumberPickerPreference
93 android:id="@+id/account_published_port"
Alexandre Lision76592472013-11-12 17:38:52 -050094 android:enabled="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050095 android:key="Account.publishedPort"
96 android:persistent="false"
Alexandre Lisiona3650992013-11-13 14:19:35 -050097 android:title="Published Port"
98 app:defaultValue1="50"
99 app:defaultValue2="60"
100 app:max1="99"
101 app:max2="99"
102 app:min1="1"
103 app:min2="0" />
104
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500105 <EditTextPreference
Alexandre Lisiona3650992013-11-13 14:19:35 -0500106 android:id="@+id/account_published_address"
Alexandre Lision76592472013-11-12 17:38:52 -0500107 android:enabled="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500108 android:key="Account.publishedAddress"
109 android:persistent="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500110 android:title="Published Address" />
Alexandre Lision451f2a82013-11-12 12:55:55 -0500111 </PreferenceCategory>
Alexandre Lision451f2a82013-11-12 12:55:55 -0500112
113</PreferenceScreen>