changed all displays of avatars to be center crop instead of fitXY

This commit is contained in:
iNPUTmice 2014-08-09 14:25:55 +02:00
parent 0cda7f7819
commit 9dec8e761e
5 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@
android:layout_width="72dp" android:layout_width="72dp"
android:layout_height="72dp" android:layout_height="72dp"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:scaleType="fitXY"/> android:scaleType="centerCrop"/>
<LinearLayout <LinearLayout
android:id="@+id/details_jidbox" android:id="@+id/details_jidbox"

View File

@ -11,6 +11,7 @@
android:layout_width="48dp" android:layout_width="48dp"
android:layout_height="48dp" android:layout_height="48dp"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
android:src="@drawable/ic_profile"> android:src="@drawable/ic_profile">
</ImageView> </ImageView>
<LinearLayout <LinearLayout

View File

@ -9,7 +9,8 @@
android:id="@+id/conversation_image" android:id="@+id/conversation_image"
android:layout_width="56dp" android:layout_width="56dp"
android:layout_height="56dp" android:layout_height="56dp"
android:layout_alignParentLeft="true"/> android:layout_alignParentLeft="true"
android:scaleType="centerCrop"/>
<RelativeLayout <RelativeLayout
android:layout_toRightOf="@+id/conversation_image" android:layout_toRightOf="@+id/conversation_image"

View File

@ -34,7 +34,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:paddingBottom="2dp" android:paddingBottom="2dp"
android:scaleType="fitXY" android:scaleType="centerCrop"
android:background="@color/primarytext" android:background="@color/primarytext"
/> />

View File

@ -34,7 +34,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:paddingBottom="2dp" android:paddingBottom="2dp"
android:scaleType="fitXY" android:scaleType="centerCrop"
android:background="@color/primarytext" android:background="@color/primarytext"
/> />