blob: bb4cbf4715cc1f4bd1943d38e39d1ee210a555d7 [file] [log] [blame]
Adrien Béraudffd32412012-08-07 18:39:23 -04001<?xml version="1.0" encoding="utf-8"?>
alisione2a38e12013-04-25 14:20:20 -04002<!--
Adrien Béraudffd32412012-08-07 18:39:23 -04003Copyright (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.
alisione2a38e12013-04-25 14:20:20 -040031-->
Adrien Béraudffd32412012-08-07 18:39:23 -040032
alisione2a38e12013-04-25 14:20:20 -040033<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éraudffd32412012-08-07 18:39:23 -040039
alisionf76de3b2013-04-16 15:35:22 -040040 <com.savoirfairelinux.sflphone.account.AccountSelectionSpinner
Alexandre Savard35d208a2012-10-31 15:15:06 -040041 android:id="@+id/account_selection_button"
alisione2a38e12013-04-25 14:20:20 -040042 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 Savard35d208a2012-10-31 15:15:06 -040049 android:layout_height="wrap_content"
alisione2a38e12013-04-25 14:20:20 -040050 android:layout_above="@+id/phoneNumberTextEntry"
51 android:layout_below="@+id/account_selection_button"
52 android:drawSelectorOnTop="false" />
Alexandre Savard14323be2012-10-24 10:02:13 -040053
alisione2a38e12013-04-25 14:20:20 -040054 <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éraudffd32412012-08-07 18:39:23 -040061
alisione2a38e12013-04-25 14:20:20 -040062 <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éraudffd32412012-08-07 18:39:23 -040069
alisione2a38e12013-04-25 14:20:20 -040070 <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
81</RelativeLayout>