Alexandre Lision | 711fde9 | 2013-11-07 15:08:26 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2004-2013 Savoir-Faire Linux Inc. |
| 4 | |
| 5 | Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com> |
| 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. |
| 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 Lision | 711fde9 | 2013-11-07 15:08:26 -0500 | [diff] [blame] | 47 | <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> |