res/layout/contactlistcontact.xml
author Nikita Kozlov <nikita@beem-project.com>
Sun, 16 Jan 2011 12:44:59 +0100
changeset 844 30d32b73be7c
parent 808 98d220b7fe9d
child 981 e1b1c8ad710a
permissions -rw-r--r--
fix Bug #321 I have commented the PrivacyListManagerAdapter initialization because the exception came from the underneath code. Also, since the feature isn't finished (especially tested) and enabled in the gui, it will be safer.
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"
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
     4
    android:layout_height="wrap_content" android:paddingLeft="10px"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
     5
    android:paddingRight="10px" android:paddingTop="8dip"
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"
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    18
	android:drawablePadding="12px"
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"
581
0536a2190b29 simplify contactlist row layout
Da Risk <darisk972@gmail.com>
parents: 507
diff changeset
    26
	android:paddingLeft="30px" android:singleLine="true"
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>