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 | <!-- |
Alexandre Lision | f3a2c9d | 2014-01-06 11:12:53 -0500 | [diff] [blame] | 3 | Copyright (C) 2004-2014 Savoir-Faire Linux Inc. |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 4 | |
alision | d45da71 | 2013-05-30 09:18:49 -0400 | [diff] [blame] | 5 | Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com> |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 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 | |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 33 | <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 34 | android:id="@+id/drawer_layout" |
Alexandre Savard | bf744f7 | 2012-09-12 10:31:40 -0400 | [diff] [blame] | 35 | android:layout_width="match_parent" |
Alexandre Lision | 0e44e91 | 2013-11-20 09:24:50 -0500 | [diff] [blame] | 36 | android:layout_height="match_parent" > |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 37 | |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame] | 38 | <org.sflphone.views.SlidingUpPanelLayout |
| 39 | android:id="@+id/contact_panel" |
alision | 7297bdb | 2013-05-21 11:56:55 -0400 | [diff] [blame] | 40 | android:layout_width="match_parent" |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame] | 41 | android:layout_height="match_parent" > |
alision | 7297bdb | 2013-05-21 11:56:55 -0400 | [diff] [blame] | 42 | |
Alexandre Lision | f02190d | 2013-12-12 17:26:12 -0500 | [diff] [blame] | 43 | <FrameLayout |
| 44 | android:id="@+id/main_frame" |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 45 | android:layout_width="match_parent" |
Alexandre Lision | f1850c0 | 2013-09-23 14:19:34 -0400 | [diff] [blame] | 46 | android:layout_height="match_parent" |
Alexandre Lision | f02190d | 2013-12-12 17:26:12 -0500 | [diff] [blame] | 47 | android:paddingTop="?android:attr/actionBarSize" |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame] | 48 | android:orientation="vertical" > |
Alexandre Lision | f02190d | 2013-12-12 17:26:12 -0500 | [diff] [blame] | 49 | </FrameLayout> |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame] | 50 | |
| 51 | <FrameLayout |
| 52 | android:id="@+id/contacts_frame" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 53 | android:layout_width="match_parent" |
Alexandre Lision | 0936ba6 | 2013-11-25 10:04:56 -0500 | [diff] [blame] | 54 | android:layout_height="match_parent" |
Alexandre Lision | e83efeb | 2013-11-27 10:27:28 -0500 | [diff] [blame] | 55 | android:clickable="true" |
Alexandre Lision | 0936ba6 | 2013-11-25 10:04:56 -0500 | [diff] [blame] | 56 | android:focusable="true" |
Alexandre Lision | e83efeb | 2013-11-27 10:27:28 -0500 | [diff] [blame] | 57 | android:focusableInTouchMode="true" /> |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame] | 58 | </org.sflphone.views.SlidingUpPanelLayout> |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 59 | |
| 60 | <FrameLayout |
| 61 | android:id="@+id/left_drawer" |
Alexandre Lision | 8a1bab8 | 2013-10-24 10:06:51 -0400 | [diff] [blame] | 62 | android:layout_width="300dp" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 63 | android:layout_height="match_parent" |
| 64 | android:layout_gravity="start" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 65 | android:choiceMode="singleChoice" |
| 66 | android:divider="@android:color/transparent" |
| 67 | android:dividerHeight="0dp" /> |
| 68 | |
| 69 | </android.support.v4.widget.DrawerLayout> |