blob: 838695460e885cc395998656b3a8124aa2c592b0 [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-->
32<com.savoirfairelinux.sflphone.client.CallElementView xmlns:android="http://schemas.android.com/apk/res/android"
33 android:id="@+id/panel"
34 android:layout_width="match_parent"
35 android:layout_height="match_parent" >
36
37 <!-- android:minHeight="70dp" > -->
38
39 <RelativeLayout
40 android:id="@+id/contactview"
41 android:layout_width="match_parent"
42 android:layout_height="match_parent"
43 android:background="@drawable/box_border" >
44
45 <ImageButton
46 android:id="@+id/toggleButton1"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_alignParentBottom="true"
50 android:layout_alignParentLeft="true"
51 android:background="#00000000"
52 android:drawableLeft="@drawable/call_pause"
53 android:gravity="left|center_vertical"
54 android:src="@drawable/call_pause"
55 android:visibility="gone" />
56
57 <ImageView
58 android:id="@+id/photo"
59 android:layout_width="70dp"
60 android:layout_height="70dp"
61 android:scaleType="centerCrop"
62 android:src="@drawable/box_border" />
63
64 <TextView
65 android:id="@+id/display_name"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_alignParentTop="true"
69 android:layout_toRightOf="@+id/photo"
70 android:paddingLeft="@dimen/padding_small"
71 android:paddingTop="@dimen/padding_small"
72 android:textAppearance="?android:attr/textAppearanceMedium" />
73
74 <TextView
75 android:id="@+id/duration"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:layout_below="@+id/display_name"
79 android:layout_toRightOf="@+id/photo"
80 android:paddingBottom="@dimen/padding_small"
81 android:paddingLeft="@dimen/padding_small"
82 android:text="Small Text"
83 android:textAppearance="?android:attr/textAppearanceSmall" />
84
85 <TextView
86 android:id="@+id/date_start"
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
89 android:layout_below="@+id/display_name"
90 android:layout_toRightOf="@+id/duration"
91 android:paddingBottom="@dimen/padding_small"
92 android:paddingLeft="@dimen/padding_small"
93 android:text="Small Text"
94 android:textAppearance="?android:attr/textAppearanceSmall" />
95
96 <!--
97 <ImageButton
98 android:id="@+id/imageButton1"
99 android:layout_width="wrap_content"
100 android:layout_height="wrap_content"
101 android:layout_alignParentRight="true"
102 android:layout_alignParentTop="true"
103 android:background="#00000000"
104 android:src="@android:drawable/sym_action_call" />
105 -->
106 </RelativeLayout>
107
108</com.savoirfairelinux.sflphone.client.CallElementView>