blob: 0f16f0c70e98b62ae730f14f547e27c9457ebc1a [file] [log] [blame]
Adrien BĂ©raudffd32412012-08-07 18:39:23 -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.
Alexandre Savard65077932012-09-18 14:08:40 -040031-->
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"
Alexandre Savard622700f2012-09-18 15:07:02 -040035 android:layout_height="match_parent" >
36 <!-- android:minHeight="70dp" > -->
Alexandre Savard65077932012-09-18 14:08:40 -040037 <RelativeLayout
38 android:id="@+id/contactview"
39 android:layout_width="match_parent"
40 android:layout_height="match_parent"
41 android:background="@drawable/box_border">
Alexandre Savard622700f2012-09-18 15:07:02 -040042 <ImageButton
43 android:id="@+id/toggleButton1"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_alignParentBottom="true"
47 android:layout_alignParentLeft="true"
48 android:layout_alignTop="@+id/button2"
49 android:background="#00000000"
50 android:drawableLeft="@drawable/call_pause"
51 android:gravity="left|center_vertical"
52 android:src="@drawable/call_pause"
53 android:visibility="gone" />
54 <Button
55 android:id="@+id/button2"
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content"
58 android:layout_alignParentBottom="true"
59 android:layout_toRightOf="@+id/toggleButton1"
60 android:text="Button"
61 android:visibility="gone" />
62 <ImageView
63 android:id="@+id/photo"
64 android:layout_width="70dp"
65 android:layout_height="70dp"
66 android:src="@drawable/box_border" />
Alexandre Savard65077932012-09-18 14:08:40 -040067 <TextView
68 android:id="@+id/display_name"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:layout_alignParentTop="true"
72 android:layout_toRightOf="@+id/photo"
73 android:paddingLeft="@dimen/padding_small"
74 android:paddingTop="@dimen/padding_small"
75 android:text="Contact Name"
76 android:textAppearance="?android:attr/textAppearanceMedium" />
77 <TextView
78 android:id="@+id/phones"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:layout_below="@+id/display_name"
82 android:layout_toRightOf="@+id/photo"
83 android:paddingBottom="@dimen/padding_small"
84 android:paddingLeft="@dimen/padding_small"
85 android:text="Small Text"
86 android:textAppearance="?android:attr/textAppearanceSmall" />
Alexandre Savard622700f2012-09-18 15:07:02 -040087 <!--
88 <ImageButton
89 android:id="@+id/imageButton1"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:layout_alignParentRight="true"
93 android:layout_alignParentTop="true"
94 android:background="#00000000"
95 android:src="@android:drawable/sym_action_call" />
96 -->
Alexandre Savard65077932012-09-18 14:08:40 -040097 </RelativeLayout>
98</com.savoirfairelinux.sflphone.client.CallElementView>