alision | 73424b6 | 2013-04-26 11:49:18 -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. |
| 31 | --> |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 32 | |
| 33 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 34 | android:id="@+id/contactview" |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 35 | android:layout_width="match_parent" |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 36 | android:layout_height="match_parent" |
alision | 2cb9956 | 2013-05-30 17:02:20 -0400 | [diff] [blame] | 37 | android:background="@drawable/item_call_selector" > |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 38 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 39 | <ImageButton |
| 40 | android:id="@+id/toggleButton1" |
| 41 | android:layout_width="wrap_content" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_alignParentBottom="true" |
| 44 | android:layout_alignParentLeft="true" |
| 45 | android:background="#00000000" |
| 46 | android:drawableLeft="@drawable/call_pause" |
| 47 | android:gravity="left|center_vertical" |
| 48 | android:src="@drawable/call_pause" |
| 49 | android:visibility="gone" /> |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 50 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 51 | <ImageView |
| 52 | android:id="@+id/photo" |
| 53 | android:layout_width="70dp" |
| 54 | android:layout_height="70dp" |
| 55 | android:scaleType="centerCrop" |
| 56 | android:src="@drawable/box_border" /> |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 57 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 58 | <TextView |
| 59 | android:id="@+id/display_name" |
| 60 | android:layout_width="wrap_content" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:layout_alignParentTop="true" |
| 63 | android:layout_toRightOf="@+id/photo" |
| 64 | android:paddingLeft="@dimen/padding_small" |
| 65 | android:paddingTop="@dimen/padding_small" |
| 66 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 67 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 68 | <TextView |
| 69 | android:id="@+id/duration" |
| 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="wrap_content" |
| 72 | android:layout_below="@+id/display_name" |
| 73 | android:layout_toRightOf="@+id/photo" |
| 74 | android:paddingBottom="@dimen/padding_small" |
| 75 | android:paddingLeft="@dimen/padding_small" |
| 76 | android:text="Small Text" |
| 77 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 78 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 79 | <TextView |
| 80 | android:id="@+id/date_start" |
| 81 | android:layout_width="wrap_content" |
| 82 | android:layout_height="wrap_content" |
| 83 | android:layout_below="@+id/display_name" |
| 84 | android:layout_toRightOf="@+id/duration" |
| 85 | android:paddingBottom="@dimen/padding_small" |
| 86 | android:paddingLeft="@dimen/padding_small" |
| 87 | android:text="Small Text" |
| 88 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 89 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 90 | <!-- |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 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" /> |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 99 | --> |
alision | 73424b6 | 2013-04-26 11:49:18 -0400 | [diff] [blame] | 100 | |
alision | d295ec2 | 2013-05-17 10:12:13 -0400 | [diff] [blame] | 101 | </RelativeLayout> |