aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-09 14:25:55 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-09 14:25:55 +0200
commit9dec8e761e5bcffbbe4f11018387f461472de8c8 (patch)
tree77c94717e978d30156c788550803128dd402855e /res/layout
parent0cda7f78195dd3eb8fb9ab247b5973c62d64204d (diff)
changed all displays of avatars to be center crop instead of fitXY
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/activity_contact_details.xml2
-rw-r--r--res/layout/contact.xml1
-rw-r--r--res/layout/conversation_list_row.xml3
-rw-r--r--res/layout/message_recieved.xml2
-rw-r--r--res/layout/message_sent.xml2
5 files changed, 6 insertions, 4 deletions
diff --git a/res/layout/activity_contact_details.xml b/res/layout/activity_contact_details.xml
index 8f0b42c1..a00b2340 100644
--- a/res/layout/activity_contact_details.xml
+++ b/res/layout/activity_contact_details.xml
@@ -27,7 +27,7 @@
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_centerVertical="true"
- android:scaleType="fitXY"/>
+ android:scaleType="centerCrop"/>
<LinearLayout
android:id="@+id/details_jidbox"
diff --git a/res/layout/contact.xml b/res/layout/contact.xml
index 8432c7a3..f16ad061 100644
--- a/res/layout/contact.xml
+++ b/res/layout/contact.xml
@@ -11,6 +11,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentLeft="true"
+ android:scaleType="centerCrop"
android:src="@drawable/ic_profile">
</ImageView>
<LinearLayout
diff --git a/res/layout/conversation_list_row.xml b/res/layout/conversation_list_row.xml
index 97985737..a6001e5f 100644
--- a/res/layout/conversation_list_row.xml
+++ b/res/layout/conversation_list_row.xml
@@ -9,7 +9,8 @@
android:id="@+id/conversation_image"
android:layout_width="56dp"
android:layout_height="56dp"
- android:layout_alignParentLeft="true"/>
+ android:layout_alignParentLeft="true"
+ android:scaleType="centerCrop"/>
<RelativeLayout
android:layout_toRightOf="@+id/conversation_image"
diff --git a/res/layout/message_recieved.xml b/res/layout/message_recieved.xml
index 563d730d..ec003920 100644
--- a/res/layout/message_recieved.xml
+++ b/res/layout/message_recieved.xml
@@ -34,7 +34,7 @@
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:paddingBottom="2dp"
- android:scaleType="fitXY"
+ android:scaleType="centerCrop"
android:background="@color/primarytext"
/>
diff --git a/res/layout/message_sent.xml b/res/layout/message_sent.xml
index d4970e6f..21563eb4 100644
--- a/res/layout/message_sent.xml
+++ b/res/layout/message_sent.xml
@@ -34,7 +34,7 @@
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:paddingBottom="2dp"
- android:scaleType="fitXY"
+ android:scaleType="centerCrop"
android:background="@color/primarytext"
/>