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 | f3a2c9d | 2014-01-06 11:12:53 -0500 | [diff] [blame] | 3 | Copyright (C) 2004-2014 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 | |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 36 | <org.sflphone.views.DoubleNumberPickerPreference |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 37 | android:id="@+id/account_registration_expire" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 38 | android:key="Account.registrationExpire" |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 39 | android:persistent="false" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 40 | android:title="@string/account_registration_exp_label" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 41 | app:defaultValue1="6" |
| 42 | app:defaultValue2="0" |
| 43 | app:max1="99" |
| 44 | app:max2="99" |
| 45 | app:min1="1" |
| 46 | app:min2="0" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 47 | |
| 48 | <ListPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 49 | android:id="@+id/account_local_interface" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 50 | android:key="Account.localInterface" |
| 51 | android:persistent="false" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 52 | android:title="@string/account_local_interface_label" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 53 | |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 54 | <org.sflphone.views.DoubleNumberPickerPreference |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 55 | android:id="@+id/account_local_port" |
| 56 | android:key="Account.localPort" |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 57 | android:persistent="false" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 58 | android:title="@string/account_local_port_label" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 59 | app:defaultValue1="50" |
| 60 | app:defaultValue2="60" |
| 61 | app:max1="99" |
| 62 | app:max2="99" |
| 63 | app:min1="1" |
| 64 | app:min2="0" /> |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 65 | |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 66 | <PreferenceCategory |
| 67 | android:id="@+id/account_credentials_category" |
| 68 | android:title="@string/account_published_address_label" > |
| 69 | |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 70 | <CheckBoxPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 71 | android:id="@+id/account_stun_enable" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 72 | android:key="STUN.enable" |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 73 | android:persistent="false" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 74 | android:summaryOff="Disabled" |
| 75 | android:summaryOn="Enabled" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 76 | android:title="@string/account_stun_enable_label" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 77 | |
| 78 | <EditTextPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 79 | android:id="@+id/account_stun_server" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 80 | android:defaultValue="" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 81 | android:enabled="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 82 | android:key="STUN.server" |
| 83 | android:persistent="false" |
| 84 | android:summary="" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 85 | android:title="@string/account_stun_server_label" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 86 | |
| 87 | <CheckBoxPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 88 | android:id="@+id/account_published_sameas_local" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 89 | android:key="Account.publishedSameAsLocal" |
| 90 | android:persistent="false" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 91 | android:title="@string/account_published_same_as_local_label" /> |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 92 | |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 93 | <org.sflphone.views.DoubleNumberPickerPreference |
| 94 | android:id="@+id/account_published_port" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 95 | android:enabled="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 96 | android:key="Account.publishedPort" |
| 97 | android:persistent="false" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 98 | android:title="@string/account_published_port_label" |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 99 | 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 Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 106 | <EditTextPreference |
Alexandre Lision | a365099 | 2013-11-13 14:19:35 -0500 | [diff] [blame] | 107 | android:id="@+id/account_published_address" |
Alexandre Lision | 7659247 | 2013-11-12 17:38:52 -0500 | [diff] [blame] | 108 | android:enabled="false" |
Alexandre Lision | c48c36a | 2013-11-12 16:26:10 -0500 | [diff] [blame] | 109 | android:key="Account.publishedAddress" |
| 110 | android:persistent="false" |
Alexandre Lision | ef1d9c1 | 2014-02-06 16:01:09 -0500 | [diff] [blame] | 111 | android:title="@string/account_published_address_label" /> |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 112 | </PreferenceCategory> |
Alexandre Lision | 451f2a8 | 2013-11-12 12:55:55 -0500 | [diff] [blame] | 113 | |
| 114 | </PreferenceScreen> |