blob: bc7d2394a0495511874f02cd9df3cbaef833d6fb [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"
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" />
89
Emeric Vigierde5bc492012-09-17 11:08:08 -040090<!-- <ImageButton -->
91<!-- android:id="@+id/buttonIncomingCall" -->
92<!-- android:layout_width="0dp" -->
93<!-- android:layout_height="match_parent" -->
94<!-- android:layout_weight="0" -->
95<!-- android:background="@drawable/hangup_button" -->
96<!-- android:drawable="@drawable/hangup_button" -->
97<!-- android:gravity="center_vertical" -->
98<!-- android:onClick="onClick" -->
99<!-- android:src="@drawable/ic_incomingcall" /> -->
Emeric Vigierea2f3a92012-09-17 10:26:02 -0400100 </LinearLayout>
101
102</LinearLayout>