Alexandre Savard | 3bbb479 | 2012-10-05 11:30:01 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 2 | <!-- |
Alexandre Lision | afd40e4 | 2013-10-15 13:48:37 -0400 | [diff] [blame] | 3 | Copyright (C) 2004-2013 Savoir-Faire Linux Inc. |
Alexandre Savard | 3bbb479 | 2012-10-05 11:30:01 -0400 | [diff] [blame] | 4 | |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 5 | Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com> |
Alexandre Savard | 3bbb479 | 2012-10-05 11:30:01 -0400 | [diff] [blame] | 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 3 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program; if not, write to the Free Software |
| 19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | |
| 21 | Additional permission under GNU GPL version 3 section 7: |
| 22 | |
| 23 | If you modify this program, or any covered work, by linking or |
| 24 | combining it with the OpenSSL project's OpenSSL library (or a |
| 25 | modified version of that library), containing parts covered by the |
| 26 | terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc. |
| 27 | grants you additional permission to convey the resulting work. |
| 28 | Corresponding Source for a non-source form of such a combination |
| 29 | shall include the source code for the parts of OpenSSL used as well |
| 30 | as that of the covered work. |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 31 | --> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 32 | |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 33 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
| 34 | xmlns:app="http://schemas.android.com/apk/res/org.sflphone" > |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 35 | |
| 36 | <PreferenceCategory |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 37 | android:id="@+id/account_advanced_category" |
| 38 | android:title="Advanced settings" > |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 39 | <org.sflphone.views.DoubleNumberPickerPreference |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 40 | android:id="@+id/account_registration_expire" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 41 | android:key="Account.registrationExpire" |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 42 | android:persistent="false" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 43 | android:title="Registration Expire" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 44 | app:defaultValue1="6" |
| 45 | app:defaultValue2="0" |
| 46 | app:max1="99" |
| 47 | app:max2="99" |
| 48 | app:min1="1" |
| 49 | app:min2="0" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 50 | |
| 51 | <ListPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 52 | android:id="@+id/account_local_interface" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 53 | android:key="Account.localInterface" |
| 54 | android:persistent="false" |
| 55 | android:title="Local Interface" /> |
| 56 | |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 57 | <org.sflphone.views.DoubleNumberPickerPreference |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 58 | android:id="@+id/account_local_port" |
| 59 | android:key="Account.localPort" |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 60 | android:persistent="false" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 61 | 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 Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 68 | |
| 69 | <CheckBoxPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 70 | android:id="@+id/account_stun_enable" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 71 | android:key="STUN.enable" |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 72 | android:persistent="false" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 73 | android:summaryOff="Disabled" |
| 74 | android:summaryOn="Enabled" |
| 75 | android:title="Use Stun" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 76 | |
| 77 | <EditTextPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 78 | android:id="@+id/account_stun_server" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 79 | android:defaultValue="" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 80 | android:enabled="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 81 | android:key="STUN.server" |
| 82 | android:persistent="false" |
| 83 | android:summary="" |
| 84 | android:title="Stun Server" /> |
| 85 | |
| 86 | <CheckBoxPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 87 | android:id="@+id/account_published_sameas_local" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 88 | android:key="Account.publishedSameAsLocal" |
| 89 | android:persistent="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 90 | android:title="Published same as local" /> |
| 91 | |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 92 | <org.sflphone.views.DoubleNumberPickerPreference |
| 93 | android:id="@+id/account_published_port" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 94 | android:enabled="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 95 | android:key="Account.publishedPort" |
| 96 | android:persistent="false" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 97 | 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 Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 105 | <EditTextPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 106 | android:id="@+id/account_published_address" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 107 | android:enabled="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 108 | android:key="Account.publishedAddress" |
| 109 | android:persistent="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 110 | android:title="Published Address" /> |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 111 | </PreferenceCategory> |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 112 | |
| 113 | </PreferenceScreen> |