Merge branch 'screenshot_aspect_ratio' into 'master'

feat(ui): do not crop screenshots; use 16:9 as default

See merge request fdroid/fdroidclient!1368
This commit is contained in:
Torsten Grote
2024-04-01 20:16:17 +00:00
2 changed files with 3 additions and 2 deletions

View File

@@ -10,6 +10,6 @@
android:layout_height="match_parent"
android:adjustViewBounds="true"
android:minWidth="@dimen/details_screenshot_width"
android:scaleType="centerCrop" />
android:scaleType="fitXY" />
</com.google.android.material.card.MaterialCardView>

View File

@@ -13,8 +13,9 @@
<dimen name="details_activity__collapsable_lists__padding__horizontal">4dp</dimen>
<dimen name="details_screenshot_height">240dp</dimen>
<dimen name="details_screenshot_width">240dp</dimen>
<dimen name="details_screenshot_width">135dp</dimen>
<dimen name="details_screenshot_margin">4dp</dimen>
<!-- Use the aspect ratio of 16:9 which is more suitable for mobile devices. -->
<dimen name="fab_margin">16dp</dimen>