Emeric Vigier | 05e894e | 2012-08-20 13:53:02 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2004-2012 Savoir-Faire Linux Inc. |
| 4 | |
| 5 | Author: Adrien Beraud <adrien.beraud@gmail.com> |
| 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. |
| 31 | --> |
| 32 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 33 | xmlns:tools="http://schemas.android.com/tools" |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="match_parent" |
| 36 | android:orientation="vertical" |
| 37 | android:paddingLeft="8dp" |
| 38 | android:paddingRight="8dp" > |
| 39 | |
| 40 | <Button |
| 41 | android:id="@+id/buttonInit" |
| 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:layout_alignParentTop="true" |
| 45 | android:onClick="onClick" |
| 46 | android:text="init" /> |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 47 | |
| 48 | <TextView |
| 49 | android:id="@+id/textAccountID" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:layout_alignParentLeft="true" |
Emeric Vigier | 39a11fa | 2012-08-29 15:25:09 -0400 | [diff] [blame] | 53 | android:layout_alignBottom="@+id/editAccountID" |
| 54 | android:gravity="center_vertical" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 55 | android:layout_below="@+id/buttonInit" |
| 56 | android:text="AccountID" |
| 57 | android:ems="10" /> |
| 58 | |
Emeric Vigier | 39a11fa | 2012-08-29 15:25:09 -0400 | [diff] [blame] | 59 | <TextView |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 60 | android:id="@+id/editAccountID" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
| 63 | android:layout_alignParentRight="true" |
| 64 | android:layout_toRightOf="@+id/textAccountID" |
| 65 | android:layout_below="@+id/buttonInit" |
Emeric Vigier | 39a11fa | 2012-08-29 15:25:09 -0400 | [diff] [blame] | 66 | android:text="IP2IP" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 67 | android:ems="10" /> |
Emeric Vigier | 39a11fa | 2012-08-29 15:25:09 -0400 | [diff] [blame] | 68 | |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 69 | <TextView |
| 70 | android:id="@+id/textTo" |
| 71 | android:layout_width="wrap_content" |
| 72 | android:layout_height="wrap_content" |
| 73 | android:layout_alignParentLeft="true" |
Emeric Vigier | 39a11fa | 2012-08-29 15:25:09 -0400 | [diff] [blame] | 74 | android:layout_alignBottom="@+id/editTo" |
| 75 | android:gravity="center_vertical" |
| 76 | android:layout_below="@+id/editAccountID" |
| 77 | android:text="to IP address" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 78 | android:ems="10" /> |
| 79 | |
| 80 | <EditText |
| 81 | android:id="@+id/editTo" |
| 82 | android:layout_width="wrap_content" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:layout_alignParentRight="true" |
| 85 | android:layout_toRightOf="@+id/textTo" |
Emeric Vigier | 39a11fa | 2012-08-29 15:25:09 -0400 | [diff] [blame] | 86 | android:layout_below="@+id/editAccountID" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 87 | android:ems="10" /> |
Emeric Vigier | eaf2c49 | 2012-09-19 14:38:20 -0400 | [diff] [blame] | 88 | |
| 89 | <Button |
| 90 | android:id="@+id/buttonService" |
| 91 | android:layout_width="match_parent" |
| 92 | android:layout_height="wrap_content" |
| 93 | android:layout_below="@+id/editTo" |
| 94 | android:onClick="onClick" |
| 95 | android:text="enable Service" /> |
Emeric Vigier | 62ca14d | 2012-08-24 11:05:09 -0400 | [diff] [blame] | 96 | |
Alexandre Savard | 2c50e69 | 2012-09-24 11:18:31 -0400 | [diff] [blame] | 97 | <!-- |
| 98 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 99 | xmlns:tools="http://schemas.android.com/tools" |
| 100 | android:id="@+id/dialpad" |
| 101 | android:layout_width="wrap_content" |
| 102 | android:layout_height="wrap_content" |
| 103 | android:orientation="vertical" |
| 104 | android:paddingLeft="8dp" |
| 105 | android:paddingRight="8dp" |
| 106 | android:layout_below="@+id/buttonGetDataString"> |
| 107 | <include layout="@layout/dialpad"/> |
| 108 | </LinearLayout> |
| 109 | --> |
| 110 | <com.savoirfairelinux.sflphone.client.Numpad |
| 111 | android:id="@+id/numPad" |
| 112 | android:layout_width="wrap_content" |
| 113 | android:layout_height="wrap_content" |
Emeric Vigier | b55bafc | 2012-09-24 13:25:50 -0400 | [diff] [blame] | 114 | android:layout_below="@+id/buttonService"/> |
Alexandre Savard | cb66fa4 | 2012-10-26 10:06:16 -0400 | [diff] [blame] | 115 | <!-- |
Alexandre Savard | 2c50e69 | 2012-09-24 11:18:31 -0400 | [diff] [blame] | 116 | <EditText |
| 117 | android:id="@+id/numDisplay" |
| 118 | android:layout_width="fill_parent" |
| 119 | android:layout_height="wrap_content" |
| 120 | android:hint="type phone number" |
| 121 | android:layout_below="@+id/buttonCall"/> |
Alexandre Savard | cb66fa4 | 2012-10-26 10:06:16 -0400 | [diff] [blame] | 122 | --> |
Alexandre Savard | 2c50e69 | 2012-09-24 11:18:31 -0400 | [diff] [blame] | 123 | |
Alexandre Savard | 2b370f0 | 2012-09-06 16:06:01 -0400 | [diff] [blame] | 124 | </RelativeLayout> |