aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-10 03:34:00 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-10 03:34:00 +0100
commit2d0c0e6a4081955b68669c82071a5099e2e1a96e (patch)
tree229879dfa6611547331849952b220f5fd4b82d54 /res
parentc6440aab12460490ef8e9167eac0b515e04f1cdf (diff)
contact badges
Diffstat (limited to '')
-rw-r--r--res/layout/dialog_contact_details.xml22
1 files changed, 12 insertions, 10 deletions
diff --git a/res/layout/dialog_contact_details.xml b/res/layout/dialog_contact_details.xml
index f52f7ba2..00da4396 100644
--- a/res/layout/dialog_contact_details.xml
+++ b/res/layout/dialog_contact_details.xml
@@ -7,23 +7,24 @@
<RelativeLayout
android:layout_width="wrap_content"
- android:layout_height="90dp"
+ android:layout_height="72dp"
android:padding="0dp">
- <ImageView
- android:id="@+id/details_contact_picture"
- android:layout_width="96dp"
- android:layout_height="96dp"
+ <QuickContactBadge
+ android:id="@+id/details_contact_badge"
+ android:layout_width="72dp"
+ android:layout_height="72dp"
android:layout_centerVertical="true"
- android:paddingRight="8dp"/>
+ android:scaleType="fitXY"/>
<LinearLayout
android:id="@+id/details_jidbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/details_contact_picture"
+ android:layout_toRightOf="@+id/details_contact_badge"
android:orientation="vertical"
- android:layout_alignParentTop="true">
+ android:layout_alignParentTop="true"
+ android:paddingLeft="8dp">
<TextView
android:layout_width="wrap_content"
@@ -37,6 +38,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="something@jabber.example.com"
+ android:singleLine="true"
android:textSize="14sp"
android:paddingLeft="8dp"/>
@@ -51,8 +53,8 @@
android:textStyle="bold"
android:gravity="center_vertical"
android:layout_below="@+id/details_jidbox"
- android:layout_toRightOf="@id/details_contact_picture"
- android:paddingLeft="8dp"/>
+ android:layout_toRightOf="@id/details_contact_badge"
+ android:paddingLeft="16dp"/>
</RelativeLayout>
<TextView