blob: 6efc64cebd787968445f3d2345cc2d1afdae1e12 [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"
alision2cb99562013-05-30 17:02:20 -040037 android:background="@drawable/item_call_selector" >
alision73424b62013-04-26 11:49:18 -040038
alisiond295ec22013-05-17 10:12:13 -040039 <ImageView
40 android:id="@+id/photo"
41 android:layout_width="70dp"
42 android:layout_height="70dp"
alision2ec64f92013-06-17 17:28:58 -040043 android:scaleType="centerCrop" />
alision73424b62013-04-26 11:49:18 -040044
alisiond295ec22013-05-17 10:12:13 -040045 <TextView
46 android:id="@+id/display_name"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_alignParentTop="true"
50 android:layout_toRightOf="@+id/photo"
51 android:paddingLeft="@dimen/padding_small"
alisiond295ec22013-05-17 10:12:13 -040052 android:textAppearance="?android:attr/textAppearanceMedium" />
alision73424b62013-04-26 11:49:18 -040053
alisiond295ec22013-05-17 10:12:13 -040054 <TextView
55 android:id="@+id/duration"
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:layout_below="@+id/display_name"
59 android:layout_toRightOf="@+id/photo"
alisiond295ec22013-05-17 10:12:13 -040060 android:paddingLeft="@dimen/padding_small"
alisiond295ec22013-05-17 10:12:13 -040061 android:textAppearance="?android:attr/textAppearanceSmall" />
alision73424b62013-04-26 11:49:18 -040062
alisiond295ec22013-05-17 10:12:13 -040063 <TextView
64 android:id="@+id/date_start"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:layout_below="@+id/display_name"
68 android:layout_toRightOf="@+id/duration"
alisiond295ec22013-05-17 10:12:13 -040069 android:paddingLeft="@dimen/padding_small"
alisiond295ec22013-05-17 10:12:13 -040070 android:textAppearance="?android:attr/textAppearanceSmall" />
alision73424b62013-04-26 11:49:18 -040071
alision907bde72013-06-20 14:40:37 -040072 <LinearLayout
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:layout_below="@+id/duration"
76 android:layout_toRightOf="@+id/photo" >
77
78 <TextView
79 android:id="@+id/incomings"
alision73424b62013-04-26 11:49:18 -040080 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
alision907bde72013-06-20 14:40:37 -040082 android:paddingLeft="@dimen/padding_small"
83 android:textAppearance="?android:attr/textAppearanceSmall" />
alision2ec64f92013-06-17 17:28:58 -040084
alision907bde72013-06-20 14:40:37 -040085 <TextView
86 android:id="@+id/outgoings"
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
89 android:paddingLeft="@dimen/padding_small"
90 android:textAppearance="?android:attr/textAppearanceSmall" />
91
92 <TextView
93 android:id="@+id/missed"
94 android:layout_width="wrap_content"
95 android:layout_height="wrap_content"
96 android:paddingLeft="@dimen/padding_small"
97 android:textAppearance="?android:attr/textAppearanceSmall" />
alision50fa0722013-06-25 17:29:44 -040098
99 <Button
100 android:id="@+id/replay"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:paddingLeft="@dimen/padding_small"
104 android:text="Replay"
105 android:textAppearance="?android:attr/textAppearanceSmall"
106 android:visibility="gone" />
alision907bde72013-06-20 14:40:37 -0400107 </LinearLayout>
108
109 <ImageButton
110 android:id="@+id/action_call"
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:layout_alignParentRight="true"
114 android:layout_centerVertical="true"
115 android:background="#00000000"
116 android:src="@android:drawable/sym_action_call" />
alision73424b62013-04-26 11:49:18 -0400117
alisiond295ec22013-05-17 10:12:13 -0400118</RelativeLayout>