blob: 531ed048722575c937062b87822fb40e6f6f6e19 [file] [log] [blame]
Emeric Vigier05e894e2012-08-20 13:53:02 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
4
5Author: Adrien Beraud <adrien.beraud@gmail.com>
6
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.
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 Vigierd5c17f52012-08-29 09:29:33 -040047
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 Vigier39a11fa2012-08-29 15:25:09 -040053 android:layout_alignBottom="@+id/editAccountID"
54 android:gravity="center_vertical"
Emeric Vigierd5c17f52012-08-29 09:29:33 -040055 android:layout_below="@+id/buttonInit"
56 android:text="AccountID"
57 android:ems="10" />
58
Emeric Vigier39a11fa2012-08-29 15:25:09 -040059 <TextView
Emeric Vigierd5c17f52012-08-29 09:29:33 -040060 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 Vigier39a11fa2012-08-29 15:25:09 -040066 android:text="IP2IP"
Emeric Vigierd5c17f52012-08-29 09:29:33 -040067 android:ems="10" />
Emeric Vigier39a11fa2012-08-29 15:25:09 -040068
Emeric Vigierd5c17f52012-08-29 09:29:33 -040069 <TextView
70 android:id="@+id/textTo"
71 android:layout_width="wrap_content"
72 android:layout_height="wrap_content"
73 android:layout_alignParentLeft="true"
Emeric Vigier39a11fa2012-08-29 15:25:09 -040074 android:layout_alignBottom="@+id/editTo"
75 android:gravity="center_vertical"
76 android:layout_below="@+id/editAccountID"
77 android:text="to IP address"
Emeric Vigierd5c17f52012-08-29 09:29:33 -040078 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 Vigier39a11fa2012-08-29 15:25:09 -040086 android:layout_below="@+id/editAccountID"
Emeric Vigierd5c17f52012-08-29 09:29:33 -040087 android:ems="10" />
88
89 <Button
90 android:id="@+id/buttonCall"
Emeric Vigier78a53e92012-08-29 18:15:34 -040091 android:layout_width="wrap_content"
Emeric Vigierd5c17f52012-08-29 09:29:33 -040092 android:layout_height="wrap_content"
Emeric Vigier78a53e92012-08-29 18:15:34 -040093 android:layout_alignParentLeft="true"
Emeric Vigierd5c17f52012-08-29 09:29:33 -040094 android:layout_below="@+id/editTo"
95 android:onClick="onClick"
Emeric Vigier78a53e92012-08-29 18:15:34 -040096 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 Vigier05e894e2012-08-20 13:53:02 -0400109
Emeric Vigier78a53e92012-08-29 18:15:34 -0400110<!-- android:background="@drawable/custom_button" -->
111
Emeric Vigier62ca14d2012-08-24 11:05:09 -0400112 <TextView
113 android:id="@+id/callVoid_text"
114 android:layout_width="match_parent"
115 android:layout_height="wrap_content"
Emeric Vigierd5c17f52012-08-29 09:29:33 -0400116 android:layout_below="@+id/buttonCall"
Emeric Vigier62ca14d2012-08-24 11:05:09 -0400117 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 Vigier05e894e2012-08-20 13:53:02 -0400159</RelativeLayout>