blob: f2dc4e2acc3e5c21e08a74898b4438b92400f886 [file] [log] [blame]
Alexandre Lision711fde92013-11-07 15:08:26 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
4
5Author: Alexandre Lision <alexandre.lision@savoirfairelinux.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.
31-->
32
33<org.sflphone.views.CustomSlidingDrawer xmlns:android="http://schemas.android.com/apk/res/android"
34 xmlns:app="http://schemas.android.com/apk/res/org.sflphone"
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:orientation="vertical"
38 app:animateOnClick="true"
39 app:content="@+id/contacts_frame"
40 app:handle="@+id/slider_button" >
41
42 <RelativeLayout
43 android:id="@+id/slider_button"
44 android:layout_width="match_parent"
45 android:layout_height="72dp" >
46
Alexandre Lision711fde92013-11-07 15:08:26 -050047 <RelativeLayout
48 android:id="@+id/coucou"
49 android:layout_width="match_parent"
50 android:layout_height="@dimen/contact_drawer_handle_height"
51 android:layout_alignParentBottom="true"
52 android:background="@color/sfl_dark_blue" >
53
54 <TextView
55 android:id="@+id/handle_title"
56 android:layout_width="match_parent"
57 android:layout_height="match_parent"
58 android:layout_alignParentBottom="true"
59 android:layout_centerInParent="true"
60 android:gravity="center"
61 android:text="Contacts"
62 android:textColor="@color/white"
63 android:textStyle="bold" />
64
65 <ImageButton
66 android:id="@+id/contact_search_button"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:layout_alignParentBottom="true"
70 android:layout_alignParentRight="true"
71 android:background="@color/sfl_dark_blue"
72 android:gravity="center"
73 android:src="@drawable/ic_btn_search" >
74 </ImageButton>
75 </RelativeLayout>
76
77 <!-- Declared after for implicit z order -->
78
79 <org.sflphone.views.HalfCircleImageView
80 android:id="@+id/hello"
81 android:layout_width="100dp"
82 android:layout_height="60dp"
83 android:layout_alignParentBottom="true"
84 android:layout_centerHorizontal="true"
85 android:src="@drawable/ic_action_group" />
86 </RelativeLayout>
87
88 <FrameLayout
89 android:id="@+id/contacts_frame"
90 android:layout_width="match_parent"
91 android:layout_height="match_parent"
92 android:background="@color/sfl_dark_blue" />
93
94</org.sflphone.views.CustomSlidingDrawer>