blob: 39a58834c6246c4e9190123b0a80f93fb1332dff [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<!--
alision5de91782013-07-10 10:47:30 -04003Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
Adrien Béraudffd32412012-08-07 18:39:23 -04004
alisiond45da712013-05-30 09:18:49 -04005Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Adrien Béraudffd32412012-08-07 18:39:23 -04006
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
alision9f7a6ec2013-05-24 16:26:26 -040033<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
Alexandre Lision064e1e02013-10-01 16:18:42 -040034 xmlns:app="http://schemas.android.com/apk/res/org.sflphone"
alision9f7a6ec2013-05-24 16:26:26 -040035 android:id="@+id/drawer_layout"
Alexandre Savardbf744f72012-09-12 10:31:40 -040036 android:layout_width="match_parent"
Alexandre Lision0e44e912013-11-20 09:24:50 -050037 android:layout_height="match_parent" >
Emeric Vigierea2f3a92012-09-17 10:26:02 -040038
Alexandre Lision450458a2013-11-22 11:33:12 -050039 <org.sflphone.views.SlidingUpPanelLayout
40 android:id="@+id/contact_panel"
alision7297bdb2013-05-21 11:56:55 -040041 android:layout_width="match_parent"
Alexandre Lision450458a2013-11-22 11:33:12 -050042 android:layout_height="match_parent" >
alision7297bdb2013-05-21 11:56:55 -040043
Alexandre Lision450458a2013-11-22 11:33:12 -050044 <RelativeLayout
45 xmlns:app="http://schemas.android.com/apk/res/org.sflphone"
Alexandre Savarddef3bfa2012-09-12 16:20:06 -040046 android:layout_width="match_parent"
Alexandre Lisionf1850c02013-09-23 14:19:34 -040047 android:layout_height="match_parent"
Alexandre Lision450458a2013-11-22 11:33:12 -050048 android:orientation="vertical" >
Alexandre Lisiondc6bdcc2013-11-01 11:42:08 -040049
Alexandre Lision450458a2013-11-22 11:33:12 -050050 <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 Savardcb66fa42012-10-26 10:06:16 -040055
Alexandre Lision450458a2013-11-22 11:33:12 -050056 <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"
Alexandre Lisione83efeb2013-11-27 10:27:28 -050063 app:shouldExpand="true"
Alexandre Lision450458a2013-11-22 11:33:12 -050064 app:indicatorColor="@color/sfl_light_blue"
65 app:underlineColor="@color/sfl_light_blue" />
66
67 <android.support.v4.view.ViewPager
68 android:id="@+id/pager"
69 android:layout_width="match_parent"
70 android:layout_height="match_parent"
71 android:layout_below="@+id/pts_main"
72 android:paddingBottom="@dimen/contact_drawer_handle_height" />
Alexandre Lision450458a2013-11-22 11:33:12 -050073 </RelativeLayout>
74
75 <FrameLayout
76 android:id="@+id/contacts_frame"
alision9f7a6ec2013-05-24 16:26:26 -040077 android:layout_width="match_parent"
Alexandre Lision0936ba62013-11-25 10:04:56 -050078 android:layout_height="match_parent"
Alexandre Lisione83efeb2013-11-27 10:27:28 -050079 android:clickable="true"
Alexandre Lision0936ba62013-11-25 10:04:56 -050080 android:focusable="true"
Alexandre Lisione83efeb2013-11-27 10:27:28 -050081 android:focusableInTouchMode="true" />
Alexandre Lision450458a2013-11-22 11:33:12 -050082 </org.sflphone.views.SlidingUpPanelLayout>
alision9f7a6ec2013-05-24 16:26:26 -040083
84 <FrameLayout
85 android:id="@+id/left_drawer"
Alexandre Lision8a1bab82013-10-24 10:06:51 -040086 android:layout_width="300dp"
alision9f7a6ec2013-05-24 16:26:26 -040087 android:layout_height="match_parent"
88 android:layout_gravity="start"
alision9f7a6ec2013-05-24 16:26:26 -040089 android:choiceMode="singleChoice"
90 android:divider="@android:color/transparent"
91 android:dividerHeight="0dp" />
92
93</android.support.v4.widget.DrawerLayout>