Skip to content

Commit 0d5af10

Browse files
committed
Fix image scale type
1 parent 8a3f2cf commit 0d5af10

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ publish {
3636
userOrg = 'buffer'
3737
groupId = 'org.buffer.android'
3838
artifactId = 'android-components'
39-
publishVersion = '0.9'
39+
publishVersion = '0.10'
4040
desc = 'An Android library for frequently used UI components'
4141
website = 'https://github.com/bufferapp/android-components'
4242
}

app/src/main/res/layout/dialog_whats_new.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
android:layout_marginStart="32dp"
2323
android:layout_marginEnd="32dp"
2424
android:layout_marginBottom="16dp"
25-
android:scaleType="centerCrop" />
25+
android:adjustViewBounds="true"
26+
android:scaleType="centerInside" />
2627

2728
<TextView
2829
android:id="@+id/titleText"

0 commit comments

Comments
 (0)