aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-11-15 22:46:22 +0100
committerChristian Schneppe <christian@pix-art.de>2016-11-15 22:46:22 +0100
commit1185eb6aa97fb30639fae4a83ce3f0e7e33de428 (patch)
tree88c7c568d580b4b48ee235b5e930214626e3ae90 /src
parent1e2f6f00da360129b25d83d4c0cab0ff484a2633 (diff)
small layout improvements in contact details
Diffstat (limited to '')
-rw-r--r--src/main/res/layout/activity_contact_details.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml
index 6681b913a..eb479b96b 100644
--- a/src/main/res/layout/activity_contact_details.xml
+++ b/src/main/res/layout/activity_contact_details.xml
@@ -22,16 +22,15 @@
<QuickContactBadge
android:id="@+id/details_contact_badge"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:maxHeight="384dp"
android:maxWidth="384dp"
- android:scaleType="centerCrop"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:background="@drawable/message_border"
android:padding="1dp"
- android:adjustViewBounds="true"/>
+ android:adjustViewBounds="true" />
<LinearLayout
android:id="@+id/details_jidbox"
@@ -84,7 +83,8 @@
android:textColor="@color/black54"
android:textStyle="italic"
android:textSize="?attr/TextSizeBody"
- android:layout_gravity="center_horizontal" />
+ android:layout_gravity="center_horizontal"
+ android:gravity="center_horizontal" />
</LinearLayout>