res/layout/contactlistcontact.xml
author Vincent V. <marseille@beem-project.com>
Thu, 16 Aug 2012 11:52:52 +0200
changeset 949 6652d425ccca
parent 946 7caab0161cf9
permissions -rw-r--r--
Bug resolve on the status update
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47
743ccc7961dc Contact liste recuperer.
marseille@KungFuh
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
808
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
     2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
     3
    android:layout_width="fill_parent"
946
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 808
diff changeset
     4
    android:layout_height="wrap_content" android:paddingLeft="10dp"
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 808
diff changeset
     5
    android:paddingRight="10dp" android:paddingTop="8dip"
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
     6
    android:paddingBottom="8dip" >
808
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
     7
    <ImageView android:id="@+id/avatar"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
     8
	android:layout_width="48dip" android:layout_height="48dip"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
     9
	android:layout_alignParentLeft="true"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    10
	android:layout_alignParentTop="true"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    11
	/>
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    12
    <TextView android:id="@+id/contactlistpseudo"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    13
	android:layout_width="fill_parent" android:layout_height="wrap_content"
808
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    14
	android:layout_alignParentTop="true"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    15
	android:layout_toRightOf="@id/avatar"
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    16
	android:singleLine="true"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    17
	android:maxLines="1" android:textColor="@color/white"
946
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 808
diff changeset
    18
	android:drawablePadding="12dp"
808
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    19
	android:paddingLeft="10dip"
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    20
	android:textSize="18sp" android:textStyle="bold" />
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    21
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    22
    <TextView android:id="@+id/contactlistmsgperso"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    23
	android:layout_width="fill_parent" android:layout_height="wrap_content"
808
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    24
	android:layout_below="@id/contactlistpseudo"
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    25
	android:layout_toRightOf="@id/avatar"
946
7caab0161cf9 Android lint parser correction
Vincent V. <marseille@beem-project.com>
parents: 808
diff changeset
    26
	android:paddingLeft="30dp" android:singleLine="true"
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    27
	android:maxLines="1" android:linksClickable="false" android:autoLink="all"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    28
	android:scrollHorizontally="true" android:textColorLink="@color/white"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    29
	android:textSize="12sp" />
808
98d220b7fe9d Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents: 581
diff changeset
    30
</RelativeLayout>