Adrien BĂ©raud | ffd3241 | 2012-08-07 18:39:23 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2004-2012 Savoir-Faire Linux Inc. |
| 4 | |
| 5 | Author: Adrien Beraud <adrien.beraud@gmail.com> |
| 6 | |
| 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation; either version 3 of the License, or |
| 10 | (at your option) any later version. |
| 11 | |
| 12 | This program is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program; if not, write to the Free Software |
| 19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | |
| 21 | Additional permission under GNU GPL version 3 section 7: |
| 22 | |
| 23 | If you modify this program, or any covered work, by linking or |
| 24 | combining it with the OpenSSL project's OpenSSL library (or a |
| 25 | modified version of that library), containing parts covered by the |
| 26 | terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc. |
| 27 | grants you additional permission to convey the resulting work. |
| 28 | Corresponding Source for a non-source form of such a combination |
| 29 | shall include the source code for the parts of OpenSSL used as well |
| 30 | as that of the covered work. |
Alexandre Savard | 6507793 | 2012-09-18 14:08:40 -0400 | [diff] [blame] | 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" |
Alexandre Savard | 622700f | 2012-09-18 15:07:02 -0400 | [diff] [blame] | 35 | android:layout_height="match_parent" > |
| 36 | <!-- android:minHeight="70dp" > --> |
Alexandre Savard | 6507793 | 2012-09-18 14:08:40 -0400 | [diff] [blame] | 37 | <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 Savard | 622700f | 2012-09-18 15:07:02 -0400 | [diff] [blame] | 42 | <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 Savard | 6507793 | 2012-09-18 14:08:40 -0400 | [diff] [blame] | 67 | <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 Savard | d197653 | 2012-10-26 15:32:45 -0400 | [diff] [blame] | 87 | <TextView |
| 88 | android:id="@+id/callstate" |
| 89 | android:layout_width="wrap_content" |
| 90 | android:layout_height="wrap_content" |
| 91 | android:layout_below="@+id/display_name" |
| 92 | android:layout_toRightOf="@+id/phones" |
| 93 | android:paddingBottom="@dimen/padding_small" |
| 94 | android:paddingLeft="@dimen/padding_small" |
| 95 | android:text="Small Text" |
| 96 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
Alexandre Savard | 622700f | 2012-09-18 15:07:02 -0400 | [diff] [blame] | 97 | <!-- |
| 98 | <ImageButton |
| 99 | android:id="@+id/imageButton1" |
| 100 | android:layout_width="wrap_content" |
| 101 | android:layout_height="wrap_content" |
| 102 | android:layout_alignParentRight="true" |
| 103 | android:layout_alignParentTop="true" |
| 104 | android:background="#00000000" |
| 105 | android:src="@android:drawable/sym_action_call" /> |
| 106 | --> |
Alexandre Savard | 6507793 | 2012-09-18 14:08:40 -0400 | [diff] [blame] | 107 | </RelativeLayout> |
| 108 | </com.savoirfairelinux.sflphone.client.CallElementView> |