blob: 139be426220b61f84766fcfc16f65dc9599a8c47 [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>
Emeric Vigierea2f3a92012-09-17 10:26:02 -040054 <!--
Alexandre Savardbf744f72012-09-12 10:31:40 -040055 tools:context=".SFLPhoneHome" />
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040056 <LinearLayout
57 android:layout_height="wrap_content"
58 android:layout_width="match_parent"
59 android:orientation="vertical">
Emeric Vigierea2f3a92012-09-17 10:26:02 -040060 -->
61
62 <LinearLayout
63 android:id="@+id/callButtonLayout"
64 android:layout_width="match_parent"
65 android:layout_height="45dp"
66 android:layout_below="@+id/pager"
67 android:layout_weight="1"
68 android:gravity="center_horizontal"
69 android:orientation="horizontal" >
70
71 <ImageButton
72 android:id="@+id/buttonCall"
73 android:layout_width="0dp"
74 android:layout_height="wrap_content"
75 android:layout_weight=".5"
76 android:background="@drawable/call_button"
77 android:gravity="center_vertical"
78 android:onClick="onClick"
79 android:src="@drawable/ic_call" />
80
81 <ImageButton
82 android:id="@+id/buttonHangUp"
83 android:layout_width="0dp"
84 android:layout_height="match_parent"
85 android:layout_weight=".5"
86 android:background="@drawable/hangup_button"
87 android:gravity="center_vertical"
88 android:onClick="onClick"
89 android:src="@drawable/ic_hangup" />
90
91 <ImageButton
92 android:id="@+id/buttonIncomingCall"
93 android:layout_width="0dp"
94 android:layout_height="wrap_content"
95 android:layout_weight="0"
96 android:background="@drawable/hangup_button"
97 android:drawable="@drawable/hangup_button"
98 android:gravity="center_vertical"
99 android:onClick="onClick"
100 android:src="@drawable/ic_incomingcall" />
101 </LinearLayout>
102
103</LinearLayout>