blob: 62359c87ea240d9e28cb1b2c142d75f4b684ee20 [file] [log] [blame]
alision73424b62013-04-26 11:49:18 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (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.
31-->
alisiond295ec22013-05-17 10:12:13 -040032
33<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
34 android:id="@+id/contactview"
alision73424b62013-04-26 11:49:18 -040035 android:layout_width="match_parent"
alisiond295ec22013-05-17 10:12:13 -040036 android:layout_height="match_parent"
37 android:background="@drawable/box_border" >
alision73424b62013-04-26 11:49:18 -040038
alisiond295ec22013-05-17 10:12:13 -040039 <ImageButton
40 android:id="@+id/toggleButton1"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_alignParentBottom="true"
44 android:layout_alignParentLeft="true"
45 android:background="#00000000"
46 android:drawableLeft="@drawable/call_pause"
47 android:gravity="left|center_vertical"
48 android:src="@drawable/call_pause"
49 android:visibility="gone" />
alision73424b62013-04-26 11:49:18 -040050
alisiond295ec22013-05-17 10:12:13 -040051 <ImageView
52 android:id="@+id/photo"
53 android:layout_width="70dp"
54 android:layout_height="70dp"
55 android:scaleType="centerCrop"
56 android:src="@drawable/box_border" />
alision73424b62013-04-26 11:49:18 -040057
alisiond295ec22013-05-17 10:12:13 -040058 <TextView
59 android:id="@+id/display_name"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:layout_alignParentTop="true"
63 android:layout_toRightOf="@+id/photo"
64 android:paddingLeft="@dimen/padding_small"
65 android:paddingTop="@dimen/padding_small"
66 android:textAppearance="?android:attr/textAppearanceMedium" />
alision73424b62013-04-26 11:49:18 -040067
alisiond295ec22013-05-17 10:12:13 -040068 <TextView
69 android:id="@+id/duration"
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
72 android:layout_below="@+id/display_name"
73 android:layout_toRightOf="@+id/photo"
74 android:paddingBottom="@dimen/padding_small"
75 android:paddingLeft="@dimen/padding_small"
76 android:text="Small Text"
77 android:textAppearance="?android:attr/textAppearanceSmall" />
alision73424b62013-04-26 11:49:18 -040078
alisiond295ec22013-05-17 10:12:13 -040079 <TextView
80 android:id="@+id/date_start"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:layout_below="@+id/display_name"
84 android:layout_toRightOf="@+id/duration"
85 android:paddingBottom="@dimen/padding_small"
86 android:paddingLeft="@dimen/padding_small"
87 android:text="Small Text"
88 android:textAppearance="?android:attr/textAppearanceSmall" />
alision73424b62013-04-26 11:49:18 -040089
alisiond295ec22013-05-17 10:12:13 -040090 <!--
alision73424b62013-04-26 11:49:18 -040091 <ImageButton
92 android:id="@+id/imageButton1"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content"
95 android:layout_alignParentRight="true"
96 android:layout_alignParentTop="true"
97 android:background="#00000000"
98 android:src="@android:drawable/sym_action_call" />
alisiond295ec22013-05-17 10:12:13 -040099 -->
alision73424b62013-04-26 11:49:18 -0400100
alisiond295ec22013-05-17 10:12:13 -0400101</RelativeLayout>