aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-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