diff options
author | Christian S <christian@pix-art.de> | 2015-07-08 19:43:41 +0200 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-07-08 19:43:41 +0200 |
commit | e80942b9c052c1a79ed9c8542466fc3303f7bd5e (patch) | |
tree | 7d77007fb3db1cf1466455340a4027a5538817a2 /src/main/res/layout | |
parent | 03e6bff7b2c3b7cf851e1522d68238b92e954900 (diff) | |
parent | fa3aab929a57ae08ce73470ae5b29b1032b3dbed (diff) |
resize avatars
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/activity_contact_details.xml | 4 | ||||
-rw-r--r-- | src/main/res/layout/activity_edit_account.xml | 15 | ||||
-rw-r--r-- | src/main/res/layout/activity_muc_details.xml | 7 |
3 files changed, 15 insertions, 11 deletions
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml index 30b0d28b3..8a0818462 100644 --- a/src/main/res/layout/activity_contact_details.xml +++ b/src/main/res/layout/activity_contact_details.xml @@ -21,8 +21,8 @@ <QuickContactBadge android:id="@+id/details_contact_badge" - android:layout_width="192dp" - android:layout_height="192dp" + android:layout_width="300dp" + android:layout_height="300dp" android:scaleType="centerCrop" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml index b893f89cb..9c4b0e764 100644 --- a/src/main/res/layout/activity_edit_account.xml +++ b/src/main/res/layout/activity_edit_account.xml @@ -28,18 +28,21 @@ android:orientation="vertical" android:padding="@dimen/infocard_padding"> <ImageView android:id="@+id/avater" - android:layout_width="72dp" - android:layout_height="72dp" - android:layout_alignParentTop="true" - android:layout_marginRight="16dp" + android:layout_width="200dp" + android:layout_height="200dp" android:contentDescription="@string/account_image_description" android:background="@drawable/message_border" - android:padding="1dp" /> + android:padding="1dp" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" /> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:layout_toRightOf="@+id/avater"> + android:layout_below="@+id/avater" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_marginTop="16dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml index 8f26d6647..7860d89cf 100644 --- a/src/main/res/layout/activity_muc_details.xml +++ b/src/main/res/layout/activity_muc_details.xml @@ -37,12 +37,13 @@ <ImageView android:id="@+id/your_photo" - android:layout_width="48dp" - android:layout_height="48dp" + android:layout_width="72dp" + android:layout_height="72dp" android:layout_alignParentLeft="true" android:src="@drawable/ic_profile" android:background="@drawable/message_border" - android:padding="1dp"> + android:padding="1dp" + android:layout_alignParentEnd="false"> </ImageView> <LinearLayout |