blob: fcab27caf15afcf9e27e620b3638c3457cd3aa60 [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<!--
Adrien Béraudffd32412012-08-07 18:39:23 -04003Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
4
5Author: Adrien Beraud <adrien.beraud@gmail.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.
Alexandre Savard65077932012-09-18 14:08:40 -040031-->
alisiond295ec22013-05-17 10:12:13 -040032
33<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
34 android:id="@+id/contactview"
alision2cb99562013-05-30 17:02:20 -040035 android:background="@drawable/item_call_selector"
Alexandre Savard65077932012-09-18 14:08:40 -040036 android:layout_width="match_parent"
Alexandre Savard622700f2012-09-18 15:07:02 -040037 android:layout_height="match_parent" >
alision17052d42013-04-22 10:39:38 -040038
alisiond295ec22013-05-17 10:12:13 -040039 <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"
alision2cb99562013-05-30 17:02:20 -040049 android:layout_alignTop="@+id/photo"
50 android:layout_alignBottom="@+id/photo"
51 android:gravity="center_vertical"
alisiond295ec22013-05-17 10:12:13 -040052 android:layout_toRightOf="@+id/photo"
alision2cb99562013-05-30 17:02:20 -040053 android:layout_marginLeft="5dp"
alisiond295ec22013-05-17 10:12:13 -040054 android:textAppearance="?android:attr/textAppearanceMedium" />
55
alisiond295ec22013-05-17 10:12:13 -040056
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>