blob: c50ac5c037f31de6346e33bf1160c836f26a93ba [file] [log] [blame]
Adrien Béraudffd32412012-08-07 18:39:23 -04001<?xml version="1.0" encoding="utf-8"?>
Emeric Vigierea2f3a92012-09-17 10:26:02 -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.
Emeric Vigierea2f3a92012-09-17 10:26:02 -040031-->
Adrien Béraudffd32412012-08-07 18:39:23 -040032
Alexandre Savardbf744f72012-09-12 10:31:40 -040033<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040034 android:id="@+id/SFLPhoneHomeLayout"
Alexandre Savardbf744f72012-09-12 10:31:40 -040035 android:layout_width="match_parent"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040036 android:layout_height="match_parent"
Alexandre Savardbf744f72012-09-12 10:31:40 -040037 android:gravity="center_horizontal"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040038 android:orientation="vertical" >
39
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040040 <LinearLayout
Emeric Vigierea2f3a92012-09-17 10:26:02 -040041 android:id="@+id/pagerLayout"
42 android:layout_width="match_parent"
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040043 android:layout_height="wrap_content"
44 android:layout_weight="1"
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040045 android:gravity="center_horizontal"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040046 android:orientation="horizontal" >
47
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040048 <android.support.v4.view.ViewPager
49 xmlns:tools="http://schemas.android.com/tools"
50 android:id="@+id/pager"
51 android:layout_width="match_parent"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040052 android:layout_height="wrap_content" />
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040053 </LinearLayout>
Alexandre Savardcb66fa42012-10-26 10:06:16 -040054
55 <EditText
56 android:id="@+id/phoneNumberTextEntry"
57 android:layout_width="fill_parent"
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040058 android:layout_height="wrap_content"
Alexandre Savardcb66fa42012-10-26 10:06:16 -040059 android:hint="Type phone number"
60 android:layout_below="@+id/buttonCall"/>
Emeric Vigierea2f3a92012-09-17 10:26:02 -040061
62 <LinearLayout
63 android:id="@+id/callButtonLayout"
64 android:layout_width="match_parent"
Emeric Vigierde5bc492012-09-17 11:08:08 -040065 android:layout_height="wrap_content"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040066 android:layout_weight="1"
67 android:gravity="center_horizontal"
68 android:orientation="horizontal" >
69
70 <ImageButton
71 android:id="@+id/buttonCall"
72 android:layout_width="0dp"
Emeric Vigierde5bc492012-09-17 11:08:08 -040073 android:layout_height="match_parent"
Emeric Vigierea2f3a92012-09-17 10:26:02 -040074 android:layout_weight=".5"
75 android:background="@drawable/call_button"
76 android:gravity="center_vertical"
77 android:onClick="onClick"
78 android:src="@drawable/ic_call" />
79
80 <ImageButton
81 android:id="@+id/buttonHangUp"
82 android:layout_width="0dp"
83 android:layout_height="match_parent"
84 android:layout_weight=".5"
85 android:background="@drawable/hangup_button"
86 android:gravity="center_vertical"
87 android:onClick="onClick"
88 android:src="@drawable/ic_hangup" />
Emeric Vigierea2f3a92012-09-17 10:26:02 -040089 </LinearLayout>
90
Alexandre Savard14323be2012-10-24 10:02:13 -040091</LinearLayout>