Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 2 | <!-- |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 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. |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 31 | --> |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 32 | |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 33 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="match_parent" |
| 36 | android:orientation="vertical" |
| 37 | android:paddingLeft="8dp" |
| 38 | android:paddingRight="8dp" > |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 39 | |
alision | f76de3b | 2013-04-16 15:35:22 -0400 | [diff] [blame] | 40 | <com.savoirfairelinux.sflphone.account.AccountSelectionSpinner |
Alexandre Savard | 35d208a | 2012-10-31 15:15:06 -0400 | [diff] [blame] | 41 | android:id="@+id/account_selection_button" |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 42 | android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" /> |
| 44 | |
| 45 | <ListView |
| 46 | android:id="@id/android:list" |
| 47 | style="@style/CallElementList" |
| 48 | android:layout_width="match_parent" |
Alexandre Savard | 35d208a | 2012-10-31 15:15:06 -0400 | [diff] [blame] | 49 | android:layout_height="wrap_content" |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 50 | android:layout_above="@+id/phoneNumberTextEntry" |
| 51 | android:layout_below="@+id/account_selection_button" |
| 52 | android:drawSelectorOnTop="false" /> |
Alexandre Savard | 14323be | 2012-10-24 10:02:13 -0400 | [diff] [blame] | 53 | |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 54 | <TextView |
| 55 | android:id="@id/android:empty" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="wrap_content" |
| 58 | android:layout_centerInParent="true" |
| 59 | android:gravity="center" |
| 60 | android:text="No data" /> |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 61 | |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 62 | <EditText |
| 63 | android:id="@+id/phoneNumberTextEntry" |
| 64 | android:layout_width="match_parent" |
| 65 | android:layout_height="wrap_content" |
| 66 | android:layout_above="@+id/buttonCall" |
| 67 | android:hint="Type phone number" |
| 68 | android:inputType="phone" /> |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 69 | |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 70 | <ImageButton |
| 71 | android:id="@+id/buttonCall" |
| 72 | android:layout_width="match_parent" |
| 73 | android:layout_height="wrap_content" |
| 74 | android:layout_alignParentBottom="true" |
| 75 | android:layout_margin="10dp" |
| 76 | android:background="@drawable/call_button" |
| 77 | android:gravity="center_vertical" |
| 78 | android:onClick="onClick" |
| 79 | android:src="@drawable/ic_call" /> |
| 80 | |
alision | 43a9b36 | 2013-05-01 16:30:15 -0400 | [diff] [blame] | 81 | <Button |
| 82 | android:id="@+id/button_attended" |
| 83 | android:layout_width="wrap_content" |
| 84 | android:layout_height="wrap_content" |
| 85 | android:layout_above="@+id/phoneNumberTextEntry" |
| 86 | android:layout_alignParentLeft="true" |
| 87 | android:text="Attended transfer" /> |
| 88 | |
| 89 | <Button |
| 90 | android:id="@+id/button_conf" |
| 91 | android:layout_width="wrap_content" |
| 92 | android:layout_height="wrap_content" |
| 93 | android:layout_above="@+id/phoneNumberTextEntry" |
| 94 | android:layout_alignParentRight="true" |
| 95 | android:text="Conference" /> |
| 96 | |
alision | e2a38e1 | 2013-04-25 14:20:20 -0400 | [diff] [blame] | 97 | </RelativeLayout> |