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" /> |
| 88 | |
| 89 | <Button |
| 90 | android:id="@+id/buttonCall" |
Emeric Vigier | 78a53e9 | 2012-08-29 18:15:34 -0400 | [diff] [blame] | 91 | android:layout_width="wrap_content" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 92 | android:layout_height="wrap_content" |
Emeric Vigier | 78a53e9 | 2012-08-29 18:15:34 -0400 | [diff] [blame] | 93 | android:layout_alignParentLeft="true" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 94 | android:layout_below="@+id/editTo" |
| 95 | android:onClick="onClick" |
Emeric Vigier | 78a53e9 | 2012-08-29 18:15:34 -0400 | [diff] [blame] | 96 | android:text="placeCall" |
| 97 | android:background="@drawable/custom_button" /> |
| 98 | |
| 99 | <Button |
| 100 | android:id="@+id/buttonHangUp" |
| 101 | android:layout_width="wrap_content" |
| 102 | android:layout_height="wrap_content" |
| 103 | android:layout_toRightOf="@+id/buttonCall" |
| 104 | android:layout_alignBottom="@+id/buttonCall" |
| 105 | android:layout_alignParentRight="true" |
| 106 | android:layout_below="@+id/editTo" |
| 107 | android:onClick="onClick" |
| 108 | android:text="hangUp" /> |
Emeric Vigier | 05e894e | 2012-08-20 13:53:02 -0400 | [diff] [blame] | 109 | |
Emeric Vigier | 78a53e9 | 2012-08-29 18:15:34 -0400 | [diff] [blame] | 110 | <!-- android:background="@drawable/custom_button" --> |
| 111 | |
Emeric Vigier | 62ca14d | 2012-08-24 11:05:09 -0400 | [diff] [blame] | 112 | <TextView |
| 113 | android:id="@+id/callVoid_text" |
| 114 | android:layout_width="match_parent" |
| 115 | android:layout_height="wrap_content" |
Emeric Vigier | d5c17f5 | 2012-08-29 09:29:33 -0400 | [diff] [blame] | 116 | android:layout_below="@+id/buttonCall" |
Emeric Vigier | 62ca14d | 2012-08-24 11:05:09 -0400 | [diff] [blame] | 117 | android:text="callVoidText" /> |
| 118 | |
| 119 | <Button |
| 120 | android:id="@+id/buttonCallVoid" |
| 121 | android:layout_width="match_parent" |
| 122 | android:layout_height="wrap_content" |
| 123 | android:layout_below="@+id/callVoid_text" |
| 124 | android:onClick="onClick" |
| 125 | android:text="CallVoid" /> |
| 126 | |
| 127 | <TextView |
| 128 | android:id="@+id/NewData_text" |
| 129 | android:layout_width="match_parent" |
| 130 | android:layout_height="wrap_content" |
| 131 | android:layout_below="@+id/buttonCallVoid" |
| 132 | android:layout_centerHorizontal="true" |
| 133 | android:text="getNewDataText" /> |
| 134 | |
| 135 | <Button |
| 136 | android:id="@+id/buttonGetNewData" |
| 137 | android:layout_width="match_parent" |
| 138 | android:layout_height="wrap_content" |
| 139 | android:layout_below="@+id/NewData_text" |
| 140 | android:onClick="onClick" |
| 141 | android:text="GetNewData" /> |
| 142 | |
| 143 | <TextView |
| 144 | android:id="@+id/DataString_text" |
| 145 | android:layout_width="match_parent" |
| 146 | android:layout_height="wrap_content" |
| 147 | android:layout_below="@+id/buttonGetNewData" |
| 148 | android:layout_centerHorizontal="true" |
| 149 | android:text="callbackString" /> |
| 150 | |
| 151 | <Button |
| 152 | android:id="@+id/buttonGetDataString" |
| 153 | android:layout_width="match_parent" |
| 154 | android:layout_height="wrap_content" |
| 155 | android:layout_below="@+id/DataString_text" |
| 156 | android:onClick="onClick" |
| 157 | android:text="GetDataString" /> |
| 158 | |
Emeric Vigier | 05e894e | 2012-08-20 13:53:02 -0400 | [diff] [blame] | 159 | </RelativeLayout> |