diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-09 02:24:22 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-09 02:24:22 +0100 |
commit | 892f565a30446b972586952abd27ac455cf3ca99 (patch) | |
tree | dd95676ff6521661afa92d077d8196f8f9e0ed19 /res/layout/dialog_contact_details.xml | |
parent | 3eb73c4b9f6b620e15ed176dc94b364e8813aa8e (diff) |
center status
Diffstat (limited to '')
-rw-r--r-- | res/layout/dialog_contact_details.xml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/res/layout/dialog_contact_details.xml b/res/layout/dialog_contact_details.xml index b74b8155..f52f7ba2 100644 --- a/res/layout/dialog_contact_details.xml +++ b/res/layout/dialog_contact_details.xml @@ -7,14 +7,15 @@ <RelativeLayout android:layout_width="wrap_content" - android:layout_height="96dp" > + android:layout_height="90dp" + android:padding="0dp"> <ImageView android:id="@+id/details_contact_picture" android:layout_width="96dp" android:layout_height="96dp" android:layout_centerVertical="true" - android:paddingRight="8dp" /> + android:paddingRight="8dp"/> <LinearLayout android:id="@+id/details_jidbox" @@ -36,20 +37,22 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="something@jabber.example.com" - android:textSize="14sp" /> + android:textSize="14sp" + android:paddingLeft="8dp"/> </LinearLayout> <TextView android:id="@+id/details_contactstatus" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingTop="3dp" + android:layout_width="fill_parent" + android:layout_height="fill_parent" android:text="online" android:textSize="24sp" android:textStyle="bold" + android:gravity="center_vertical" android:layout_below="@+id/details_jidbox" - android:layout_toRightOf="@id/details_contact_picture"/> + android:layout_toRightOf="@id/details_contact_picture" + android:paddingLeft="8dp"/> </RelativeLayout> <TextView |