blob: a668315684b187c7946e52b10f9672e10f864515 [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 Lisiond5dbcdf2013-10-07 14:13:09 -04003Copyright (C) 2004-2013 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"
alisiond295ec22013-05-17 10:12:13 -040035 android:layout_width="match_parent"
Alexandre Lision691a1d62013-11-12 10:06:27 -050036 android:layout_height="match_parent"
Alexandre Lision8b9d8e82013-10-04 09:21:27 -040037 android:orientation="vertical" >
Adrien Béraudffd32412012-08-07 18:39:23 -040038
Alexandre Lision450458a2013-11-22 11:33:12 -050039 <RelativeLayout
40 android:id="@+id/slider_button"
41 android:layout_width="match_parent"
42 android:layout_height="68dp" >
43
44 <RelativeLayout
45 android:id="@+id/coucou"
46 android:layout_width="match_parent"
47 android:layout_height="@dimen/contact_drawer_handle_height"
48 android:layout_alignParentBottom="true"
49 android:background="@color/sfl_dark_blue" >
50
51 <TextView
52 android:id="@+id/handle_title"
53 android:layout_width="match_parent"
54 android:layout_height="match_parent"
55 android:layout_alignParentBottom="true"
56 android:layout_centerInParent="true"
57 android:gravity="center"
58 android:text="Contacts"
59 android:textColor="@color/white"
60 android:textStyle="bold" />
61
62 <ImageButton
63 android:id="@+id/contact_search_button"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:layout_alignParentBottom="true"
67 android:layout_alignParentRight="true"
68 android:background="@color/sfl_dark_blue"
69 android:gravity="center"
70 android:src="@drawable/ic_btn_search" >
71 </ImageButton>
72 </RelativeLayout>
73
74 <!-- Declared after for implicit z order -->
75
76 <org.sflphone.views.HalfCircleImageView
77 android:id="@+id/hello"
78 android:layout_width="112dp"
79 android:layout_height="68dp"
80 android:layout_alignParentBottom="true"
81 android:layout_centerHorizontal="true"
82 android:src="@drawable/ic_action_group" />
83 </RelativeLayout>
84
Alexandre Lision691a1d62013-11-12 10:06:27 -050085 <org.sflphone.views.stickylistheaders.StickyListHeadersListView
alisiond295ec22013-05-17 10:12:13 -040086 android:id="@+id/contacts_list"
alisiond295ec22013-05-17 10:12:13 -040087 android:layout_width="match_parent"
Alexandre Lision691a1d62013-11-12 10:06:27 -050088 android:layout_height="match_parent"
89 android:drawSelectorOnTop="true"
alisionf7053602013-07-09 10:25:20 -040090 android:fastScrollEnabled="true"
Alexandre Lision691a1d62013-11-12 10:06:27 -050091 android:scrollbarStyle="outsideOverlay" />
Adrien Béraudffd32412012-08-07 18:39:23 -040092
alisiond295ec22013-05-17 10:12:13 -040093 <TextView
Alexandre Lision4df961d2013-10-16 13:44:49 -040094 android:id="@android:id/empty"
alisiond295ec22013-05-17 10:12:13 -040095 android:layout_width="match_parent"
Alexandre Lision691a1d62013-11-12 10:06:27 -050096 android:layout_height="match_parent"
alisiond295ec22013-05-17 10:12:13 -040097 android:layout_gravity="center"
98 android:gravity="center"
Alexandre Lision8b9d8e82013-10-04 09:21:27 -040099 android:text="@string/no_contact_found"
Alexandre Lision691a1d62013-11-12 10:06:27 -0500100 android:textColor="@color/white"
Alexandre Lision9d052a12013-11-06 15:13:34 -0500101 android:textSize="30sp" />
alisiond295ec22013-05-17 10:12:13 -0400102
103</LinearLayout>