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 | <!-- |
alision | 5de9178 | 2013-07-10 10:47:30 -0400 | [diff] [blame] | 3 | Copyright (C) 2004-2013 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" |
Alexandre Lision | 064e1e0 | 2013-10-01 16:18:42 -0400 | [diff] [blame] | 34 | xmlns:app="http://schemas.android.com/apk/res/org.sflphone" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 35 | android:id="@+id/drawer_layout" |
Alexandre Savard | bf744f7 | 2012-09-12 10:31:40 -0400 | [diff] [blame] | 36 | android:layout_width="match_parent" |
Alexandre Lision | 0e44e91 | 2013-11-20 09:24:50 -0500 | [diff] [blame] | 37 | android:layout_height="match_parent" > |
Emeric Vigier | ea2f3a9 | 2012-09-17 10:26:02 -0400 | [diff] [blame] | 38 | |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 39 | <org.sflphone.views.SlidingUpPanelLayout |
| 40 | android:id="@+id/contact_panel" |
alision | 7297bdb | 2013-05-21 11:56:55 -0400 | [diff] [blame] | 41 | android:layout_width="match_parent" |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 42 | android:layout_height="match_parent" > |
alision | 7297bdb | 2013-05-21 11:56:55 -0400 | [diff] [blame] | 43 | |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 44 | <RelativeLayout |
| 45 | xmlns:app="http://schemas.android.com/apk/res/org.sflphone" |
Alexandre Savard | def3bfa | 2012-09-12 16:20:06 -0400 | [diff] [blame] | 46 | android:layout_width="match_parent" |
Alexandre Lision | f1850c0 | 2013-09-23 14:19:34 -0400 | [diff] [blame] | 47 | android:layout_height="match_parent" |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 48 | android:orientation="vertical" > |
Alexandre Lision | dc6bdcc | 2013-11-01 11:42:08 -0400 | [diff] [blame] | 49 | |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 50 | <ImageView |
| 51 | android:layout_width="match_parent" |
| 52 | android:layout_height="?android:attr/actionBarSize" |
| 53 | android:layout_alignParentTop="true" |
| 54 | android:background="@color/sfl_dark_blue" /> |
Alexandre Savard | cb66fa4 | 2012-10-26 10:06:16 -0400 | [diff] [blame] | 55 | |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 56 | <org.sflphone.views.PagerSlidingTabStrip |
| 57 | android:id="@+id/pts_main" |
| 58 | android:layout_width="match_parent" |
| 59 | android:layout_height="?android:attr/actionBarSize" |
| 60 | android:layout_alignParentTop="true" |
| 61 | android:layout_marginTop="?android:attr/actionBarSize" |
| 62 | android:background="@color/sfl_blue_0" |
| 63 | app:indicatorColor="@color/sfl_light_blue" |
| 64 | app:underlineColor="@color/sfl_light_blue" /> |
| 65 | |
| 66 | <android.support.v4.view.ViewPager |
| 67 | android:id="@+id/pager" |
| 68 | android:layout_width="match_parent" |
| 69 | android:layout_height="match_parent" |
| 70 | android:layout_below="@+id/pts_main" |
| 71 | android:paddingBottom="@dimen/contact_drawer_handle_height" /> |
| 72 | |
| 73 | <ImageView |
| 74 | android:id="@+id/overall_shadow" |
| 75 | android:layout_width="match_parent" |
| 76 | android:layout_height="match_parent" |
| 77 | android:alpha="0" |
| 78 | android:background="@color/black" |
| 79 | android:clickable="false" |
| 80 | android:focusable="false" /> |
| 81 | </RelativeLayout> |
| 82 | |
| 83 | <FrameLayout |
| 84 | android:id="@+id/contacts_frame" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 85 | android:layout_width="match_parent" |
Alexandre Lision | 450458a | 2013-11-22 11:33:12 -0500 | [diff] [blame^] | 86 | android:layout_height="match_parent" /> |
| 87 | </org.sflphone.views.SlidingUpPanelLayout> |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 88 | |
| 89 | <FrameLayout |
| 90 | android:id="@+id/left_drawer" |
Alexandre Lision | 8a1bab8 | 2013-10-24 10:06:51 -0400 | [diff] [blame] | 91 | android:layout_width="300dp" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 92 | android:layout_height="match_parent" |
| 93 | android:layout_gravity="start" |
alision | 9f7a6ec | 2013-05-24 16:26:26 -0400 | [diff] [blame] | 94 | android:choiceMode="singleChoice" |
| 95 | android:divider="@android:color/transparent" |
| 96 | android:dividerHeight="0dp" /> |
| 97 | |
| 98 | </android.support.v4.widget.DrawerLayout> |