blob: 423ab662bd049f23978a31f1807a64eeb2b74808 [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"
Alexandre Savard622700f2012-09-18 15:07:02 -040048 android:background="#00000000"
49 android:drawableLeft="@drawable/call_pause"
50 android:gravity="left|center_vertical"
51 android:src="@drawable/call_pause"
52 android:visibility="gone" />
alision17052d42013-04-22 10:39:38 -040053
Alexandre Savard622700f2012-09-18 15:07:02 -040054 <ImageView
55 android:id="@+id/photo"
56 android:layout_width="70dp"
57 android:layout_height="70dp"
alision17052d42013-04-22 10:39:38 -040058 android:scaleType="centerCrop"
Alexandre Savard622700f2012-09-18 15:07:02 -040059 android:src="@drawable/box_border" />
Alexandre Savard65077932012-09-18 14:08:40 -040060 <TextView
61 android:id="@+id/display_name"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_alignParentTop="true"
65 android:layout_toRightOf="@+id/photo"
alision17052d42013-04-22 10:39:38 -040066
Alexandre Savard65077932012-09-18 14:08:40 -040067 android:paddingLeft="@dimen/padding_small"
68 android:paddingTop="@dimen/padding_small"
Alexandre Savard65077932012-09-18 14:08:40 -040069 android:textAppearance="?android:attr/textAppearanceMedium" />
70 <TextView
71 android:id="@+id/phones"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:layout_below="@+id/display_name"
75 android:layout_toRightOf="@+id/photo"
76 android:paddingBottom="@dimen/padding_small"
77 android:paddingLeft="@dimen/padding_small"
78 android:text="Small Text"
79 android:textAppearance="?android:attr/textAppearanceSmall" />
Alexandre Savardd1976532012-10-26 15:32:45 -040080 <TextView
81 android:id="@+id/callstate"
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content"
84 android:layout_below="@+id/display_name"
85 android:layout_toRightOf="@+id/phones"
86 android:paddingBottom="@dimen/padding_small"
87 android:paddingLeft="@dimen/padding_small"
88 android:text="Small Text"
89 android:textAppearance="?android:attr/textAppearanceSmall" />
Alexandre Savard622700f2012-09-18 15:07:02 -040090 <!--
91 <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" />
99 -->
Alexandre Savard65077932012-09-18 14:08:40 -0400100 </RelativeLayout>
101</com.savoirfairelinux.sflphone.client.CallElementView>