blob: 56ab5cc5ef62dc8cde710e954ef61bc4cf688dc6 [file] [log] [blame]
Alexandre Lision2e52d392013-11-06 15:14:31 -05001<?xml version="1.0" encoding="utf-8"?>
2<!--
Alexandre Lisionf3a2c9d2014-01-06 11:12:53 -05003Copyright (C) 2004-2014 Savoir-Faire Linux Inc.
Alexandre Lision2e52d392013-11-06 15:14:31 -05004
5Author: Alexandre Lision <alexandre.lision@savoirfairelinux.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-->
32
33<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
34 android:id="@+id/contactview"
35 android:layout_width="match_parent"
36 android:layout_height="match_parent"
37 android:padding="10dp" >
38
39 <RelativeLayout
40 android:layout_width="match_parent"
41 android:layout_height="match_parent"
42 android:descendantFocusability="blocksDescendants" >
43
44 <TextView
45 android:id="@+id/history_call_state"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_alignParentLeft="true"
49 android:layout_centerVertical="true"
50 android:textStyle="bold"
51 android:paddingLeft="@dimen/padding_small"
52 android:singleLine="true" />
53
54 <TextView
55 android:id="@+id/history_call_date_formatted"
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:layout_alignParentTop="true"
59 android:layout_toRightOf="@+id/history_call_state"
60 android:paddingLeft="@dimen/padding_small"
61 android:singleLine="true" />
Alexandre Lision6da3bb92013-12-10 17:32:46 -050062
63 <TextView
64 android:id="@+id/history_call_hour"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:layout_alignParentTop="true"
68 android:layout_toRightOf="@+id/history_call_date_formatted"
69 android:paddingLeft="@dimen/padding_small"
70 android:singleLine="true" />
Alexandre Lision2e52d392013-11-06 15:14:31 -050071
72 <TextView
73 android:id="@+id/history_call_duration"
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content"
76 android:layout_below="@+id/history_call_date_formatted"
77 android:layout_toRightOf="@+id/history_call_state"
78 android:paddingLeft="@dimen/padding_small"
79 android:singleLine="true" />
80
81 <Button
82 android:id="@+id/history_call_record"
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
85 android:layout_alignParentRight="true"
86 android:layout_centerVertical="true"
87 android:background="@drawable/item_generic_selector"
88 android:paddingLeft="@dimen/padding_small"
89 android:text="@string/hist_replay_button"
90 android:visibility="gone" />
91 </RelativeLayout>
92
93</LinearLayout>