Use fitCenter instead of centerCrop where sensible (#2149)

This commit is contained in:
Adam Jones 2018-12-17 13:53:47 +00:00 committed by neslihanturan
parent 83b52fc1b9
commit 1213678040
4 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@
android:id="@+id/backgroundImage"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:actualImageScaleType="centerCrop" />
app:actualImageScaleType="fitCenter" />
<FrameLayout
android:id="@+id/single_upload_fragment_container"

View file

@ -23,7 +23,7 @@
android:layout_height="match_parent"
android:layout_below="@id/toolbar"
android:background="@color/commons_app_blue_dark"
app:actualImageScaleType="centerCrop" />
app:actualImageScaleType="fitCenter" />
<android.support.constraint.ConstraintLayout
android:id="@+id/activity_upload_cards"

View file

@ -13,13 +13,13 @@
android:layout_width="160dp"
android:layout_height="240dp"
android:layout_margin="3dp"
app:actualImageScaleType="centerCrop" />
app:actualImageScaleType="fitCenter" />
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/possibleImage"
android:layout_width="160dp"
android:layout_height="240dp"
android:layout_margin="3dp"
app:actualImageScaleType="centerCrop" />
app:actualImageScaleType="fitCenter" />
</LinearLayout>
<TextView
android:layout_width="match_parent"

View file

@ -22,7 +22,7 @@
android:id="@+id/contributionImage"
android:layout_width="match_parent"
android:layout_height="240dp"
app:actualImageScaleType="centerCrop"
app:actualImageScaleType="fitCenter"
/>
<LinearLayout