Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 2 | <!-- |
Adrien Béraud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 3 | Copyright (C) 2004-2012 Savoir-Faire Linux Inc. |
| 4 | |
| 5 | Author: Adrien Beraud <adrien.beraud@gmail.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. |
Alexandre Savard | 6507793 | 2012-09-18 14:08:40 -0400 | [diff] [blame] | 31 | --> |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 32 | |
| 33 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 34 | android:id="@+id/contactview" |
alision | 2cb9956 | 2013-05-30 17:02:20 -0400 | [diff] [blame] | 35 | android:background="@drawable/item_call_selector" |
Alexandre Savard | 6507793 | 2012-09-18 14:08:40 -0400 | [diff] [blame] | 36 | android:layout_width="match_parent" |
Alexandre Savard | 622700f | 2012-09-18 15:07:02 -0400 | [diff] [blame] | 37 | android:layout_height="match_parent" > |
alision | 17052d4 | 2013-04-22 10:39:38 -0400 | [diff] [blame] | 38 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 39 | <ImageView |
| 40 | android:id="@+id/photo" |
| 41 | android:layout_width="70dp" |
| 42 | android:layout_height="70dp" |
| 43 | android:scaleType="centerCrop" /> |
| 44 | |
| 45 | <TextView |
| 46 | android:id="@+id/display_name" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
alision | 2cb9956 | 2013-05-30 17:02:20 -0400 | [diff] [blame] | 49 | android:layout_alignTop="@+id/photo" |
| 50 | android:layout_alignBottom="@+id/photo" |
| 51 | android:gravity="center_vertical" |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 52 | android:layout_toRightOf="@+id/photo" |
alision | 2cb9956 | 2013-05-30 17:02:20 -0400 | [diff] [blame] | 53 | android:layout_marginLeft="5dp" |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 54 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 55 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 56 | |
| 57 | <!-- <ImageButton --> |
| 58 | <!-- android:id="@+id/toggleButton1" --> |
| 59 | <!-- android:layout_width="wrap_content" --> |
| 60 | <!-- android:layout_height="wrap_content" --> |
| 61 | <!-- android:layout_alignParentRight="true" --> |
| 62 | <!-- android:layout_centerVertical="true" --> |
| 63 | <!-- android:background="#CCCCCC" --> |
| 64 | <!-- android:clickable="false" --> |
| 65 | <!-- android:drawableLeft="@drawable/call_pause" --> |
| 66 | <!-- android:focusable="false" --> |
| 67 | <!-- android:gravity="left|center_vertical" --> |
| 68 | <!-- android:src="@drawable/call_pause" /> --> |
| 69 | --> |
| 70 | |
| 71 | </RelativeLayout> |