blob: fb585dddb4206a49e4460b1cf88d5b21c1f194c7 [file] [log] [blame]
Adrien Béraudffd32412012-08-07 18:39:23 -04001<?xml version="1.0" encoding="utf-8"?>
alisiond295ec22013-05-17 10:12:13 -04002<!--
Alexandre Lisionf3a2c9d2014-01-06 11:12:53 -05003Copyright (C) 2004-2014 Savoir-Faire Linux Inc.
Adrien Béraudffd32412012-08-07 18:39:23 -04004
Alexandre Lisiond5dbcdf2013-10-07 14:13:09 -04005Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
6 Adrien Beraud <adrien.beraud@gmail.com>
Adrien Béraudffd32412012-08-07 18:39:23 -04007
8This program is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 3 of the License, or
11(at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
22Additional permission under GNU GPL version 3 section 7:
23
24If you modify this program, or any covered work, by linking or
25combining it with the OpenSSL project's OpenSSL library (or a
26modified version of that library), containing parts covered by the
27terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
28grants you additional permission to convey the resulting work.
29Corresponding Source for a non-source form of such a combination
30shall include the source code for the parts of OpenSSL used as well
31as that of the covered work.
alisiond295ec22013-05-17 10:12:13 -040032-->
Adrien Béraudffd32412012-08-07 18:39:23 -040033
34<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Alexandre Lisiona458ba22013-12-11 15:04:11 -050035 xmlns:swipe="http://schemas.android.com/apk/res-auto"
Alexandre Lision0936ba62013-11-25 10:04:56 -050036 android:id="@+id/drag_view"
alisiond295ec22013-05-17 10:12:13 -040037 android:layout_width="match_parent"
Alexandre Lision691a1d62013-11-12 10:06:27 -050038 android:layout_height="match_parent"
Alexandre Lision8b9d8e82013-10-04 09:21:27 -040039 android:orientation="vertical" >
Adrien Béraudffd32412012-08-07 18:39:23 -040040
Alexandre Lision450458a2013-11-22 11:33:12 -050041 <RelativeLayout
42 android:id="@+id/slider_button"
43 android:layout_width="match_parent"
44 android:layout_height="68dp" >
45
46 <RelativeLayout
Alexandre Lision450458a2013-11-22 11:33:12 -050047 android:layout_width="match_parent"
48 android:layout_height="@dimen/contact_drawer_handle_height"
49 android:layout_alignParentBottom="true"
50 android:background="@color/sfl_dark_blue" >
51
52 <TextView
53 android:id="@+id/handle_title"
54 android:layout_width="match_parent"
55 android:layout_height="match_parent"
56 android:layout_alignParentBottom="true"
57 android:layout_centerInParent="true"
58 android:gravity="center"
59 android:text="Contacts"
60 android:textColor="@color/white"
61 android:textStyle="bold" />
62
63 <ImageButton
64 android:id="@+id/contact_search_button"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:layout_alignParentBottom="true"
68 android:layout_alignParentRight="true"
69 android:background="@color/sfl_dark_blue"
70 android:gravity="center"
71 android:src="@drawable/ic_btn_search" >
72 </ImageButton>
73 </RelativeLayout>
74
75 <!-- Declared after for implicit z order -->
76
77 <org.sflphone.views.HalfCircleImageView
78 android:id="@+id/hello"
79 android:layout_width="112dp"
80 android:layout_height="68dp"
81 android:layout_alignParentBottom="true"
82 android:layout_centerHorizontal="true"
83 android:src="@drawable/ic_action_group" />
84 </RelativeLayout>
85
Alexandre Lision691a1d62013-11-12 10:06:27 -050086 <org.sflphone.views.stickylistheaders.StickyListHeadersListView
alisiond295ec22013-05-17 10:12:13 -040087 android:id="@+id/contacts_list"
alisiond295ec22013-05-17 10:12:13 -040088 android:layout_width="match_parent"
Alexandre Lision691a1d62013-11-12 10:06:27 -050089 android:layout_height="match_parent"
Alexandre Lision5f733bc2013-12-04 13:10:30 -050090 android:background="@color/sfl_dark_blue"
Alexandre Lision691a1d62013-11-12 10:06:27 -050091 android:drawSelectorOnTop="true"
alisionf7053602013-07-09 10:25:20 -040092 android:fastScrollEnabled="true"
Alexandre Lision691a1d62013-11-12 10:06:27 -050093 android:scrollbarStyle="outsideOverlay" />
Adrien Béraudffd32412012-08-07 18:39:23 -040094
alisiond295ec22013-05-17 10:12:13 -040095 <TextView
Alexandre Lision4df961d2013-10-16 13:44:49 -040096 android:id="@android:id/empty"
alisiond295ec22013-05-17 10:12:13 -040097 android:layout_width="match_parent"
Alexandre Lision691a1d62013-11-12 10:06:27 -050098 android:layout_height="match_parent"
alisiond295ec22013-05-17 10:12:13 -040099 android:layout_gravity="center"
100 android:gravity="center"
Alexandre Lision8b9d8e82013-10-04 09:21:27 -0400101 android:text="@string/no_contact_found"
Alexandre Lision691a1d62013-11-12 10:06:27 -0500102 android:textColor="@color/white"
Alexandre Lision9d052a12013-11-06 15:13:34 -0500103 android:textSize="30sp" />
alisiond295ec22013-05-17 10:12:13 -0400104
Alexandre Lisiona458ba22013-12-11 15:04:11 -0500105
alisiond295ec22013-05-17 10:12:13 -0400106</LinearLayout>