mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-18 21:47:37 -04:00
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:
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user