Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -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. |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 31 | --> |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 32 | |
Alexandre Savard | bf744f7 | 2012-09-12 10:31:40 -0400 | [diff] [blame] | 33 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 34 | android:id="@+id/SFLPhoneHomeLayout" |
Alexandre Savard | bf744f7 | 2012-09-12 10:31:40 -0400 | [diff] [blame] | 35 | android:layout_width="match_parent" |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 36 | android:layout_height="match_parent" |
Alexandre Savard | bf744f7 | 2012-09-12 10:31:40 -0400 | [diff] [blame] | 37 | android:gravity="center_horizontal" |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 38 | android:orientation="vertical" > |
| 39 | |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 40 | <LinearLayout |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 41 | android:id="@+id/pagerLayout" |
| 42 | android:layout_width="match_parent" |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 43 | android:layout_height="wrap_content" |
| 44 | android:layout_weight="1" |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 45 | android:gravity="center_horizontal" |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 46 | android:orientation="horizontal" > |
| 47 | |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 48 | <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 Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 52 | android:layout_height="wrap_content" /> |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 53 | </LinearLayout> |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 54 | <!-- |
Alexandre Savard | bf744f7 | 2012-09-12 10:31:40 -0400 | [diff] [blame] | 55 | tools:context=".SFLPhoneHome" /> |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 56 | <LinearLayout |
| 57 | android:layout_height="wrap_content" |
| 58 | android:layout_width="match_parent" |
| 59 | android:orientation="vertical"> |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 60 | --> |
| 61 | |
| 62 | <LinearLayout |
| 63 | android:id="@+id/callButtonLayout" |
| 64 | android:layout_width="match_parent" |
Emeric Vigier | de5bc49 | 2012-09-17 11:08:08 -0400 | [diff] [blame] | 65 | android:layout_height="wrap_content" |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 66 | 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 Vigier | de5bc49 | 2012-09-17 11:08:08 -0400 | [diff] [blame] | 73 | android:layout_height="match_parent" |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 74 | 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 Vigier | de5bc49 | 2012-09-17 11:08:08 -0400 | [diff] [blame] | 90 | <!-- <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 Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 100 | </LinearLayout> |
| 101 | |
| 102 | </LinearLayout> |