mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Use fitCenter instead of centerCrop where sensible (#2149)
This commit is contained in:
parent
83b52fc1b9
commit
1213678040
4 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
android:id="@+id/backgroundImage"
|
android:id="@+id/backgroundImage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
app:actualImageScaleType="centerCrop" />
|
app:actualImageScaleType="fitCenter" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/single_upload_fragment_container"
|
android:id="@+id/single_upload_fragment_container"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_below="@id/toolbar"
|
android:layout_below="@id/toolbar"
|
||||||
android:background="@color/commons_app_blue_dark"
|
android:background="@color/commons_app_blue_dark"
|
||||||
app:actualImageScaleType="centerCrop" />
|
app:actualImageScaleType="fitCenter" />
|
||||||
|
|
||||||
<android.support.constraint.ConstraintLayout
|
<android.support.constraint.ConstraintLayout
|
||||||
android:id="@+id/activity_upload_cards"
|
android:id="@+id/activity_upload_cards"
|
||||||
|
|
|
||||||
|
|
@ -13,13 +13,13 @@
|
||||||
android:layout_width="160dp"
|
android:layout_width="160dp"
|
||||||
android:layout_height="240dp"
|
android:layout_height="240dp"
|
||||||
android:layout_margin="3dp"
|
android:layout_margin="3dp"
|
||||||
app:actualImageScaleType="centerCrop" />
|
app:actualImageScaleType="fitCenter" />
|
||||||
<com.facebook.drawee.view.SimpleDraweeView
|
<com.facebook.drawee.view.SimpleDraweeView
|
||||||
android:id="@+id/possibleImage"
|
android:id="@+id/possibleImage"
|
||||||
android:layout_width="160dp"
|
android:layout_width="160dp"
|
||||||
android:layout_height="240dp"
|
android:layout_height="240dp"
|
||||||
android:layout_margin="3dp"
|
android:layout_margin="3dp"
|
||||||
app:actualImageScaleType="centerCrop" />
|
app:actualImageScaleType="fitCenter" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
android:id="@+id/contributionImage"
|
android:id="@+id/contributionImage"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="240dp"
|
android:layout_height="240dp"
|
||||||
app:actualImageScaleType="centerCrop"
|
app:actualImageScaleType="fitCenter"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue