From 2896751bff287dcb2be74b04bc5bcd9f0ac17592 Mon Sep 17 00:00:00 2001 From: Jorge Ruesga Date: Sun, 7 Sep 2014 12:45:55 +0200 Subject: [PATCH] cmfm: make icons to be displayed at the same size in AssociationsDialog Change-Id: Iddb81a1af7857af117946669134c2d87ec33993c Signed-off-by: Jorge Ruesga --- res/layout/associations_item.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/layout/associations_item.xml b/res/layout/associations_item.xml index 9ead243..8d5d460 100644 --- a/res/layout/associations_item.xml +++ b/res/layout/associations_item.xml @@ -25,9 +25,11 @@ android:height="@dimen/grid_image_height" android:layout_width="@dimen/grid_width" android:layout_height="@dimen/grid_height" + android:padding="16dp" android:contentDescription="@null" android:layout_centerInParent="true" - android:scaleType="center" + android:scaleType="fitXY" + android:adjustViewBounds="true" android:src="@null" />