mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-27 03:31:03 +00:00
fix: image cropping on some dpi levels
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
android:layout_marginTop="-16dp"
|
||||
android:layout_marginBottom="-16dp"
|
||||
android:clipToPadding="false"
|
||||
android:padding="24dp">
|
||||
android:padding="22dp">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/itemCompactCard"
|
||||
@@ -28,8 +28,8 @@
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/itemCompactImage"
|
||||
android:layout_width="108dp"
|
||||
android:layout_height="160dp"
|
||||
android:layout_width="102dp"
|
||||
android:layout_height="154dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:transitionName="mediaCover"
|
||||
app:shapeAppearanceOverlay="@style/roundedImageView"
|
||||
|
||||
Reference in New Issue
Block a user