author | Da Risk <da_risk@beem-project.com> |
Sun, 15 Mar 2015 18:03:03 +0100 | |
changeset 1044 | 197a85a35cba |
parent 981 | res/layout/contactlistcontact.xml@e1b1c8ad710a |
permissions | -rw-r--r-- |
47 | 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" |
981
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
4 |
android:layout_height="wrap_content" android:paddingLeft="10dp" |
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
5 |
android:paddingRight="10dp" android:paddingTop="8dp" |
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" |
981
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
17 |
android:maxLines="1" |
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
18 |
android:paddingLeft="10dp" |
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
19 |
android:textAppearance="?android:attr/textAppearanceMedium" |
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
20 |
android:textStyle="bold" /> |
581
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" |
981
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
26 |
android:paddingLeft="10dp" 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" |
981
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
29 |
android:textAppearance="?android:attr/textAppearanceSmall" |
e1b1c8ad710a
Use the theme text appearance for most labels.
Da Risk <da_risk@beem-project.com>
parents:
808
diff
changeset
|
30 |
/> |
808
98d220b7fe9d
Add a way to display the avatar of a contact.
Da Risk <darisk972@gmail.com>
parents:
581
diff
changeset
|
31 |
</RelativeLayout> |